Created
August 3, 2019 10:41
-
-
Save ToWipf/d9ab45f7a0e09a764a53a20ab1a0613d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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