Git Product home page Git Product logo

Comments (3)

sbaum2s avatar sbaum2s commented on August 22, 2024 1

Sorry, i am new to docker. I didnt know such questions are not welcome here.

from php.

shinsenter avatar shinsenter commented on August 22, 2024

@sbaum2s

With docker run --rm, the container will be automatically removed after it stops. You can remove the --rm option from docker run, then the container will remain on the system in a stopped state after it finishes running, allowing for inspection or restarting later.

I don't think this is an issue with my Docker images. Instead, it's common knowledge about how to run containers from existing Docker images. You can find more details about the differences in commands on Docker's official website.

docker run creates and starts a new container from an image, combining the setup and execution in one step. It allows specifying configurations like ports, volumes, and environment variables. Each run command results in a new container.

docker start restarts an existing, stopped container without creating a new one or changing its configuration. It resumes the container from its last state, useful for restarting after a stop or system reboot.

from php.

shinsenter avatar shinsenter commented on August 22, 2024

@sbaum2s

I apologize if I caused any misunderstanding or made you feel offended.

My intention was to help you find a more appropriate reference and to provide the information I thought would be helpful for your issue.

There's a dedicated section for Discussions on this repository where we can discuss usage-related matters. Would you be open to continuing our discussion there?

from php.

Related Issues (20)

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.