Skip to content

bug: /var/run/docker.sock is not mounting with docker #1246

Open
@that0n3guy

Description

@that0n3guy

Describe the bug

Here is my template I'm attempting to use: https://gist.github.com/that0n3guy/61d6ca0d3c07f9a36089deb37837a37f

When first testing, I had /var/run/docker.sock in the volumes, but swiftwave doesn't like that ( "stack configuration is not valid. only named volumes are supported.").

So I switched to docker_proxy_config (like your portainer example).

I'm assuming this should mount docker.sock like a normal docker-compose file:

    volumes:
      # mount the docker socket to allow to run docker containers from within the workers
      - /var/run/docker.sock:/var/run/docker.sock

This is not working in my workers. If I under them there is no /var/run/docker.sock or any in the mount print out.

Also, this is what I see in my swiftwave dashboard for the workers:

Image

Are you working on this issue?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions