Skip to content

ellermister/dind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 12, 2024
60c098d · Sep 12, 2024

History

1 Commit
Sep 12, 2024
Sep 12, 2024
Sep 12, 2024
Sep 12, 2024
Sep 12, 2024
Sep 12, 2024

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

No packages published