Permission denied: docker-machine create -
i want set swarm cluster consisting of 2 nodes, when run code:
docker-machine create -d virtualbox --swarm --swarm-master --swarm-discovery token://<clusterid>
in order create swarm master, receive following message:
-bash: /usr/local/bin/docker-machine: permission denied
trying same code sudo produces:
sudo: docker-machine: command not found
how fix this?
does:
chmod +x /usr/local/bin/docker-machine
fix it?
(might need sudo
)
Comments
Post a Comment