-
Notifications
You must be signed in to change notification settings - Fork 14
instalar_docker machine
Linux8a edited this page Nov 8, 2022
·
1 revision
base=https://github.com/docker/machine/releases/download/v0.16.0 &&
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
sudo mv /tmp/docker-machine /usr/local/bin/docker-machine &&
chmod +x /usr/local/bin/docker-machine
Ver la version que estamos corriendo:
docker-machine -v
Nota: Ejecutando en Windows Git BASH.
base=https://github.com/docker/machine/releases/download/v0.16.0 &&
mkdir -p "$HOME/bin" &&
curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe"
Nota: El siguiente comando solo funciona en Windows si usamos un emulador de terminal como Git BASH, que admite comandos de Linux como chmod.
chmod +x "$HOME/bin/docker-machine.exe
Referencia: https://docs.docker.com/machine/install-machine/
Copyright © 2022