Compose

Compose

Sending specific commands in docker compose

version: "2.11"
services:
    # Disables ipv6  
    sysctls:
        - net.ipv6.conf.all.disable_ipv6=1

https://stackoverflow.com/questions/39329732/specify-sysctl-values-using-docker-compose

Errors

ModuleNotFoundError: No module named 'websocket' at up command

Seems a sudo pip issue. In facts,

sudo pip install jsonschema websocket

Github Issue

Dependency Startup order

startup order

depends_on

[Service]
ExecStartPre=/bin/sleep 30

Delayed starting of Docker service until expected mounts are available