-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Docker
Mathias Hermansson edited this page Jun 18, 2019
·
1 revision
scoop install docker
Please note that this will not install Docker Engine
Connect to Docker Engine with Docker CLI:
docker -H <host:port>
The Docker Engine daemon must listen to a tcp socket.
Requirements: Virtualbox, VMware, Hyper-V or any of the Docker Machine drivers
- Create our Docker base machine (will be named default):
docker-machine create default
- Each time starting working with Docker
docker-machine start
docker-machine env | Invoke-Expression
- Then we can bring up any Docker image
docker run ubuntu /bin/echo "Hello world"
- When finished:
docker-machine stop
- Getting our Docker machine:
docker-machine ls
eval $(docker-machine.exe env docker-host --shell wsl ) && export DOCKER_CERT_PATH=$(wslpath $DOCKER_CERT_PATH)