Code Monkey home page Code Monkey logo

Comments (3)

Letgamer avatar Letgamer commented on July 26, 2024

Please close this issue.
restart: always should be defined in the docker run command or in the docker-compose file and is not defined in the Dockerfile

from cloudflared-docker.

steinauf85 avatar steinauf85 commented on July 26, 2024

Please close this issue. restart: always should be defined in the docker run command or in the docker-compose file and is not defined in the Dockerfile

My intention was to modify the sample compose file in the readme, not to alter the dockerfile.

from cloudflared-docker.

Erisa avatar Erisa commented on July 26, 2024

I understand the intent here though as you note in your last line, that scenario could have been avoided by not stopping the containers before rebooting, as the service shutdown sequence would have done that itself. Setting the restart policy to unless-stopped avoids some nasty and unwelcome situations where a container is intentionally stopped and then crops back up on a daemon or system restart.

I have compromised though, and added a note about it here 05c4658
Hopefully that helps.

from cloudflared-docker.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.