Created
March 23, 2020 20:55
-
-
Save haisi/02c2ef35f793572ef93172df69f1b0c9 to your computer and use it in GitHub Desktop.
docker on windows 8.1
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
# Create the VirtualBox VM running a mini Linux with Docker (name 'default') | |
docker-machine create --driver=virtualbox | |
docker-machine create --driver virtualbox --virtualbox-hostonly-cidr "10.0.0.1/24" default | |
# See all machines | |
docker-machine ls | |
docker-machine env default | |
eval "$(docker-machine env default)" |
If you get
ERROR: SSL error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)
Run either:
set "export COMPOSE_TLS_VERSION=TLSv1_2"
export COMPOSE_TLS_VERSION=TLSv1_2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your certificates have expired, run:
rm -r ~/.docker/machine/certs