Skip to content

Ted88368/ubuntu_docker

 
 

Repository files navigation

Ubuntu_docker

构建日常使用的镜像。

cpp_base

# build
docker build ./ -t feixiao/cpp_base

# Launch
docker-compose up -d

# docker容器运行必须有一个前台进程, 如果没有前台进程执行,容器认为空闲,就会自行退出
# 所以带 /bin/bash
docker run -dit feixiao/cpp_base /bin/bash

cpp_build

# build
docker build ./ -t feixiao/cpp_build:1.5


# Launch
docker-compose up -d

docker run --rm -dit -p 60022:22 --name="cpp_build" feixiao/cpp_build:1.5

基于 Ubuntu18.04 打造自己的工作平台

  • build docker build ./ -t feixiao/workbech:1.7

  • Launch

    docker run --restart=always -dit --name=wk \
        -p 10000:22  -p 10001-10010:10001-10010 \
        -v workbech:/home/frank/workspace feixiao/workbench:1.7

Janus 部署

# /usr/local/etc/janus
# /usr/local/lib/janus/transports
# /usr/local/lib/janus/plugins

docker run --net=host \
    -v /opt/janus/conf:/usr/local/etc/janus \
    --name="janus0.7.5"  \
    -itd -t feixiao/janus-webrtc-gateway-docker:0.7.5

Janus 开发环境

docker run --net=host -dit \
    -v /home/frank/docker/data/janus_ubuntu_build:/workspace \
    --name="janus" feixiao/janus_ubuntu_build:1.0

参考资料

About

日常使用的docker镜像备忘

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 64.1%
  • Makefile 19.8%
  • Shell 16.0%
  • HTML 0.1%