DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.14k stars 106 forks source link

Unix to Windows path conversion #130

Open asliwinski opened 6 years ago

asliwinski commented 6 years ago

I cannot select and copy the logs (which is another issue), so I'm pasting a screenshot: image This is a known issue and setting environmental variable COMPOSE_CONVERT_WINDOWS_PATHS=1 solves the problem when running the container directly, however it doesn't work in dockstation.

The image: https://hub.docker.com/r/jwilder/nginx-proxy/

igor-lemon commented 6 years ago

Hi @asliwinski. Did you try to set a volume to Docker socket?

https://hub.docker.com/r/jwilder/nginx-proxy/

$ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy

In the app you can set volumes here

image

asliwinski commented 6 years ago

Hi @igor-lemon, here's the relevant section of my docker-compose.yml:

  nginx-proxy:
    container_name: nginx-proxy
    image: jwilder/nginx-proxy
    ports:
      - "443:443"
    networks:
      app_net:
        ipv4_address: 172.16.111.111  
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - ./nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf:ro
      - ./nginx/certificates:/etc/certificates:ro

So the volumes are defined and this configuration is reflected in Dockstation in the tab you showed on your screenshot. As I said, this is a known bug and setting the environmental variable to convert the path solves the problem, however the environmental variable somehow doesn't affect Dockstation, as if it was an isolated environment.