I’ve been trying to deploy my containers using docker-machine using docker-compose.
My configuration should be as followed:
letsencrypt-nginx-proxy-companion: image: jrcs/letsencrypt-nginx-proxy-companion volumes_from: - nginx volumes: - /var/run/docker.sock:/tmp/docker.sock:ro - nginx_certs:/etc/nginx/certs:rw environment: - NGINX_DOCKER_GEN_CONTAINER=nginx-gen
and i would like this to happen from a windows host to a linux server. My Linux server is marked as active and thus should redirect all commands i execute.
Everytime i run the docker-compose up -d i get the following error message:
for letsencrypt-nginx-proxy-companion Cannot create container for service letsencrypt-nginx-proxy-companion: create \var\run\docker.sock: "\\var\\run\\docker.sock" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed
Hopefully anybody could help me fixing this error