Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ToWipf/d9ab45f7a0e09a764a53a20ab1a0613d to your computer and use it in GitHub Desktop.
Save ToWipf/d9ab45f7a0e09a764a53a20ab1a0613d to your computer and use it in GitHub Desktop.
1. Install Debian in Virtual Box
2. Set the Network to "Networkbridge"
3. Install Docker in debain
4. Create daemon.json file in /etc/docker:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
5. Add /etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd
6. systemctl daemon-reload
7. systemctl restart docker.service
8. In Windows Powershell:
$env:DOCKER_HOST = "tcp://192.168.2.78:2375"
9. docker ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment