Loading...
docker运行ubuntu容器,自带Firefox浏览器通过本地浏览器http远程控制效果图docker-compose.yml:services: webtop: #image: lscr.io/linuxserver/webtop:latest #image: lscr.io/linuxserver/webtop:ubuntu-mate #image: lscr.io/linuxserver/webtop:debian-kde #image: ls...
macvlan快速配置启动macvlan1.容器一:开机自动创建macvlan/home/macvlan/docker-compose.ymlversion: '3.3' services: dummy_service: image: busybox # busybox占用空间少 command: ["sleep", "3600"] # 让容器运行1小时,保持运行 networks: - my_macvla...
一个包含基本命令的ubuntu测试环境容器只是为了能有一个环境能放心霍霍,霍霍完了就删容器内的80端口运行了一个nginx服务器容器内的22端口运行了一个ssh服务器1.启动容器docker-composeversion: '3' # 查看ssh root密码`docker exec -it ubuntu-test-environment cat /etc/enterpoint.env` services: ubuntu-test-environment: image: u...