Docker-Compose does not use Eval purchased env

Asked

Viewed 28 times

0

Personal talk, I have a very strange atmosphere. I’m starting with Docker yet.

What I want is to run a Docker-Compose on a swarm-master that was created in the local virtual box (via Docker-machine). I’ve run the Eval$(Docker-machine env --swarm node_name) command, but every time I use Docker or Docker-Compose CLI, it tries to run on my machine and not on the VM.

This worked well when I used a virtual machine like my computer, and the swarm created on the digitalocean. But to avoid costs I changed the approach to follow the studies.

Utilizo Ubuntu 16.04

1 answer

1


Good people, I managed to fix it. It was only changing the Docker-machine permissions that everything started to work normally. Just be careful that changing the permissions, for some reason, made the machines that were mounted disfigure.

hugging.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.