项目作者: hyeonsangjeon

项目描述 :
ubuntu18.04 dind test bed
高级语言: Dockerfile
项目地址: git://github.com/hyeonsangjeon/ubuntu-dind.git
创建时间: 2018-08-20T06:18:00Z
项目社区:https://github.com/hyeonsangjeon/ubuntu-dind

开源协议:

下载


ubuntu-dind : 18.04

Using container test bed.

  • ubuntu version : 18.04
  • docker version : 18.06.0-ce
  • expose port : 3000, 443, 80, 22
To run docker, excute this command in a ternimal:
  1. docker run -d -it --name ubuntu1804 -p 8081:3000 -p 8443:443 -p 8080:80 -p 2202:22 --privileged -v /var/run/docker.sock:/var/run/docker.sock -e TZ=Asia/Seoul modenaf360/ubuntu-dind:18.04 /bin/bash

If you want to get into docker container os, excute this command

  1. docker exec -i -t ubuntu1804 /bin/bash

or, get into with ssh (custom write in docker container)

  1. 1. docker exec -i -t ubuntu1804 /bin/bash
  2. 2. passwd root (in docker container)
  3. 3. vi /etc/ssh/sshd_config : (in docker container)
  4. PermitRootLogin yes
  5. 4. service ssh restart (in docker container)