Sign inSign up

junxin/ubuntu-dind

By junxin

Updated almost 5 years ago

ubuntu docker in docker

Image
0

266

junxin/ubuntu-dind repository overview

Quick start

Non-root user configs(with sudo)

Environ KeyDefault valueRemark
USER_NAMEuser
USER_UID1001
USER_GID1001
USER_PWusersame as ${USER_NAME}
WORK_HOME/work${USER_NAME}'s home

root user password: dind (PermitRootLogin: no)

Use docker-compose

version: "3.3"
services:
  dameon:
    image: junxin/ubuntu-dind:latest
    restart: unless-stopped
    volumes:
      - /tmp/dockerindocker/certs-ca:/certs/ca
      - /tmp/dockerindocker/certs-client:/certs/client
      - /tmp/dockerindocker/var-lib-docker:/var/lib/docker
      - /tmp/dockerindocker/user_home:/work
    ports:
      - "2233:22"
    environment:
      DOCKER_TLS_CERTDIR: /certs
      USER_PW: dind # change password from 'user' to 'dind'
    privileged: true

Tag summary

Content type

Image

Digest

Size

314 MB

Last updated

almost 5 years ago

docker pull junxin/ubuntu-dind