How do i run docker compose as a daemon in the background?



  • Normally if you create a docker-compose.yaml file and run docker-compose up, the environment runs in the foreground, good for debugging.

    If you are happy it is all working, you can run it in detached mode.

    $ sudo docker-compose up -d
    


© Lightnetics 2024