This did the trick for me:
docker run -dit ubuntu
After it, I checked for the processes running using:
docker ps -a
For attaching again the container
docker attach CONTAINER_NAME
TIP: For exiting without stopping the container type: ^P^Q
More Related Contents:
- How to deal with persistent storage (e.g. databases) in Docker
- Error “The input device is not a TTY”
- Dockerfile if else condition with external arguments
- Is it ok to run docker from inside docker?
- docker ENV vs RUN export
- Provide static IP to docker containers via docker-compose
- I lose my data when the container exits
- Multiple RUN vs. single chained RUN in Dockerfile, which is better?
- docker unauthorized: authentication required – upon push with successful login
- How to see docker image contents
- How can I change the location of docker images when using Docker Desktop on WSL2 with Windows 10 Home?
- What are Docker image “layers”?
- Elasticsearch docker container in non-prod mode to eliminate vm.max_map_count=262144 requirement
- Connect docker python to SQL server with pyodbc
- How to delete images from a private docker registry?
- Is it possible to start a stopped container from another container
- Powershell Docker Command Doesn’t Work Like Bat File
- Difference between links and depends_on in docker_compose.yml
- Can’t delete docker image with dependent child images
- Docker Compose keep container running
- Kubenetes: Is it possible to hit multiple pods with a single request in Kubernetes cluster
- Docker unknown shorthand flag: ‘a’ in -aq)
- How to change the default location for “docker create volume” command?
- How to connect to local MySQL server through Docker?
- Connect to a Service running inside a docker container from outside
- Dockerfile: Output of RUN instruction into a Variable
- How to write data to host file system from Docker container
- how does Docker Embedded DNS resolver work?
- 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