Skip to content
/ dind Public
forked from ellermister/dind

docker in docker for my workspace

Notifications You must be signed in to change notification settings

nickdlkk/dind

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dind with ssh server

This image provides docker-in-docker with ssh access.
You can use docker/docker-compose in this container.

This project uses the root user and no longer uses ordinary users.

Execute the following command.

docker-compose up -d

Configuration

You can change the anything by docker-compose.yml

Port

SSH is running with the port 2022 in this container.
You can change the port.

ports:
  - "2022:2022"

Volume

'dind' uses /var/lib/docker.
You can change the volume and recommended modify this path to SSD.

unraid recommends using the original path of the SSD directly and skipping the system cache.

volumes:
  - /mnt/disk4/appdata/mydind/docker:/var/lib/docker

/web path is my development path, save all project code

volumes:
  - /mnt/user/projects/web:/web

./ssh path is container ssh configuration path. You can save your authorization key here

volumes:
  - ./ssh:/root/.ssh

/root/.vscode-server is the main program and cache content of vscode server.

volumes:
  - ./vscode-server:/root/.vscode-server

About

docker in docker for my workspace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 59.5%
  • Dockerfile 40.5%