You can restart an existing container after it exited and your changes are still there.
docker start `docker ps -q -l` # restart it in the background
docker attach `docker ps -q -l` # reattach the terminal & stdin
More Related Contents:
- How to access host port from docker container [duplicate]
- How to get the IP address of the docker host from inside a docker container [duplicate]
- Where are Docker images stored on the host machine?
- Using Docker-Compose, how to execute multiple commands
- How can I keep a container running on Kubernetes?
- Multiple FROMs – what it means
- What does –net=host option in Docker command really do?
- Docker : Can a container A call an executable located on an other container B?
- accessing a docker container from another container
- Docker command fails during build, but succeeds while executed within running container
- How do you attach and detach from Docker’s process?
- How to use sudo inside a docker container?
- Docker – Name is already in use by container
- Airflow: how to get pip packages installed via their docker-compose.yml?
- Expose multiple api uri on the same nginx server block
- Docker, what is it and what is the purpose
- docker mounting volumes on host
- Re-using environment variables in docker-compose.yml
- How to mount volume from container to host in Docker?
- Forcing docker to use linux/amd64 platform by default on macOS
- Get container ID from Docker buildkit for interactive debugging
- How to execute command from one docker container to another
- How to specify different .dockerignore files for different builds in the same project?
- How do I download Docker images without using the pull command?
- Is there a maximum number of containers running on a Docker host?
- how do you manage secret values with docker-compose v3.1?
- Dockerfile: Output of RUN instruction into a Variable
- How to write data to host file system from Docker container
- Is there a way to force docker-machine to create vm with a specific ip?
- how to set ulimit / file descriptor on docker container the image tag is phusion/baseimage-docker