Hello there.
By default, after installing docker toolbox, every time I start Quickstart Terminal, I see the image above.
-docker is configured to use default machine with Ip …-
I would like to change ‘default’ to another new machine. How do I configure?
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.105:2376
SET DOCKER_CERT_PATH=C:\Users\x.docker\machine\machines\newm
SET DOCKER_MACHINE_NAME=newm
SET COMPOSE_CONVERT_WINDOWS_PATHS=true
REM Run this command to configure your shell:
REM @FOR /f “tokens=*” %i IN (‘docker-machine env newm’) DO @%i
I ran the command above but nothing happened and I do not know how to proceed.
Ps. I am using Windows 10
To all the newbies like me,
The definition:
Docker Quickstart Terminal
A pre-configured terminal that you can use to connect to the Docker Daemon which is running within a remote host (the Linux VM powered by VirtualBox).
I am not sure if it’s possible to run another machine (aside from default machine) on quickstart, but I am not going to try anymore.
For Windows 10 using docker toolbox:
Open command prompt.
Enter ‘docker-machine ls’.
(As you can see, I have 2 machines, default machine is active now.)
To switch to dev machine, enter ‘docker-machine env dev’
(Follow the instruction and set the environment properties.)
Enter: -
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://…
SET DOCKER_CERT_PATH=C:…
SET DOCKER_MACHINE_NAME=dev
SET COMPOSE_CONVERT_WINDOWS_PATHS=true
Enter ‘docker-machine ls’ again
(Now dev machine is active.)
Enter ‘docker info’
(See the server Name:dev)