Docker start container by name


Docker start container by name. 启动名称为 my_container 的容器。 启动并附加到容器: docker start -a my_container To start a container and set it to restart automatically on system reboot use. The container ID is then printed to STDOUT. Unlike docker run, this command works only with already existing containers. Dec 6, 2023 · docker run -d --name my_container ubuntu sleep infinity # Output: # container_id docker exec -it my_container bash # Output: # root@container_id:/# In this example, we first start a new Docker container called ‘my_container’ using the ‘docker run’ command. docker exec -it <container-name/ID> bash To start an existing container and attach to it in one command. Instead of running it using the command docker run --name=mycontainer image, you may just start the existing container which you just trying and the above answer helps. ) docker run -d <image_name> Start or stop an existing container: docker start|stop <container_name> (or <container-id>) Remove a stopped container: docker rm <container_name> Open a shell inside a running container: docker exec -it <container_name> sh Fetch and follow the logs of a container: docker logs -f <container_name> To inspect a running Oct 17, 2016 · Simply you can add --force at the end of the command. Name}}"\ busybox top va8ew30grofhjoychbr6iot8c $ docker service ps va8ew30grofhjoychbr6iot8c ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS wo41w8hg8qan hosttempl. For example, if we want to mount path from host into outer Docker container, we can use this command: Note that the –rm flag will make Docker remove the container after it has been shut down. This way the container is started in the foreground, just like when you use docker run (which runs a container in the foreground by default). You can also run your container with --rm arguments so if you stop your container it will automatically be removed. 27s user 0m 0. Apr 25, 2024 · docker rename container-name new-name. After the docker container is started it uses the enterpoint or command to run a specified program inside it. docker create [OPTIONS] IMAGE [COMMAND] [ARG] Containers that are stopped do not show up in docker ps unless you specify the -a flag: docker ps -a Then you can start the created container. The image reference specifies which image to use when you run a container. Run docker ps to get the ID of the container. Do some check: docker ps. Defining a name can be a handy way to add meaning to a container. To stop the container, run the docker stop command, passing the container's name or ID. To view a list of all your docker containers, run the following command. 2 bash It ended up with the following e Run multiple processes in a container; Start containers automatically; Runtime metrics; CLI $ docker run -d --name dind-rootless --privileged docker:25. Apr 29, 2016 · docker start <container name or id> If it doesn't stay running, check the logs: docker logs <container name or id> If you want the container to restart automatically if it stops for some reason look at docker restart policies. 0-dind Oct 12, 2013 · Stop the container (docker stop <container_name>). docker container run CLI reference; What is Docker Compose Mar 19, 2024 · The solution for this case is straightforward. To start (or run) a container you need an image. This is similar to docker run -d except the container is never started. Example: docker rename kindacode_example new_name. It uses the official image available on Docker Hub . sh 123 cmd cmd2 10054 root /usr/sbin/apache2 -k start 10055 33 /usr/sbin/apache2 -k start 10056 33 /usr/sbin/apache2 -k start $ /usr/bin/time docker stop test test real 0m 0. P. Aug 20, 2024 · Specify a custom name for the container rather than a randomly generated one. Use docker ps -a to list all container names. Use docker ps -a to view a list of all containers, including those that are stopped. PS. Here, mysql bash represents which container we’ll be running. I don't know what the problem was before, but it now works. works even if your container is not running-f for filter. Use docker inspect + container id and grep user or name then you can get the Container User Name and login into the container. at the end of the docker build command tells Docker that it should look for the Dockerfile in the current directory. Running hostname inside that namespace will change the hostname for the docker instance that shares that namespace. $ docker network disconnect bridge networktest Version and name top-level element; Services top-level element; a --checkpoint flag is added to the docker container start command. Apr 4, 2019 · container_name: This is the container name that you see from the host machine when listing the running containers with the docker container ls command. Jul 6, 2017 · For example once I create a container with name of "duplo": docker run --name="duplo" -it /bin/bash -c "sudo /build/backup. Start the container (docker start <container_name>). 5 days ago · Stopping and Starting Containers To stop a container, run docker stop my-container. Docker provides ways to control how much memory, or CPU a container can use, setting runtime configuration flags of the docker run command. You’ve learned how to start, stop, list, and remove Docker docker container rename: Rename a container docker container restart: Restart one or more containers docker container rm: Remove one or more containers docker container start: Start one or more stopped containers docker container stats: Display a live stream of container(s) resource usage statistics docker container stop: Stop one or more $ docker service create \ --name hosttempl \ --hostname="{{. docker run --name <container name> -it mysql bash. compose the container again. To remove a container entirely, use the command. The . If you want to run a docker container with a certain image and a specified command, you can do it in this fashion: docker run -it -d --name container_name image_name bash. Run command to all available to user accessing the container and copy them to user running session that needs to run the commands: printenv | grep -v "no_proxy" >> /etc/environment 3. When creating a container, the Docker daemon creates a writeable container layer over the specified image and prepares it for running the specified command. Node. To do this, you supply both the network name and the container name. 23:2376. Dec 19, 2016 · I have a docker container that I want to use to partition client access to a database. For example, if you had stopped a database with the command docker stop CONTAINER_ID, you can relaunch the same container with the command docker start CONTAINER_ID, and the data and settings will be the same. docker-compose up container-name Aug 31, 2020 · If I execute the command "start my_new container", the container starts and exits immediately. This Restart service containers docker compose rm: Removes stopped service containers docker compose run: Run a one-off command on a service docker compose start: Start services docker compose stop: Stop services docker compose top: Display the running processes docker compose unpause: Unpause services docker compose up: Create and start containers Oct 2, 2014 · To start an existing container which is stopped. If I start multiple copies of the container they all have the same name, the only difference being the port the container is assigned to. When you create a Docker container without specifying a name, Docker assigns a random and often obscure name to it. Images typically start with a root filesystem and add filesystem changes and their corresponding execution parameters in ordered, read-only layers. Provide the container ID or name to the docker stop command: Jul 23, 2018 · I deleted the container and created a new one with the command the Rancher docs recommend sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server and now stopping and starting the container work as expected, on the correct ports. docker ps -q --filter="NAME={name of container}" Then the only thing that's output is the id of the container, which allows me to run: docker exec -it $(docker ps -q --filter="NAME={name of container}") bash Introducing Docker Debug. Jun 6, 2020 · Set the Container Name # In Docker, each container is identified by its UUID and name. 06 0. 0:32768->4444/tcp clever_williams Jul 3, 2024 · Once the docker container is started, then as a next phase docker start the container, for this It uses docker start command to start the container. docker start <CONTAINER_ID> or <NAMES> Say from the above picture, container id 4b161b302337 So command to be run is. Refer to Start a multi-node cluster with Docker Compose in the Elasticsearch documentation. To create a multi-node cluster with Kibana, use Docker Compose instead. The command. Method-1: Using the docker rename command. One can optionally select a subset of services to attach to using --attach flag, or exclude some services using --no-attach to prevent output to be flooded by some verbose services. Or to enter a running container, use exec instead: docker exec -it <container-name-or-id> bash Mar 19, 2018 · Under the desired service, add the container_name field followed by the desired custom name. Wipe out the existing container and re-run docker run --name=mycontainer image. The process goes like this: Dockerfile =[docker build]=> Docker image =[docker run]=> Docker container. Nov 9, 2021 · docker rename old-name new-name. docker start -ai <container-name/ID> R+ 00:44 0:00 ps aux $ docker top test PID USER COMMAND 10035 root {run. Below is the general command syntax for docker start: docker start [options] [container1-name-or-id] [container2-name-or-id] [] Aug 28, 2019 · How is possible to assign a name to a container while using docker run with interactive mode? For example, running this command docker run -d -it docker_image_already_created sh The docker run command runs a command in a new container, pulling the image if needed and starting the container. You can stop a container using the docker stop command. Feb 6, 2024 · Docker containers are usually configured with a fixed port mapping when they are created. If you specify a name, you can use it when referring to the container in a user-defined network. there is a docker restart container_name but that is used to restart a running container - I believe that is not your case. output only the ID-a for all. If you don't specify the hostname, it defaults to the container ID, which is a randomly generated system GUID. hostname: The hostname of the container. 03s A container identifier is not the same thing as an image reference. 1 busybox:latest@sha256 You can remove a container from a network by disconnecting the container. To connect to a remote host, provide the TCP connection string. [1]: you can also docker import an image from a tarball or again docker load. Mar 19, 2024 · CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 52b7c79bfaa8 postgres "docker-entrypoint. docker start [container_name] will restart a stopped container. Description. Step 4: Attach To The Containe And Print Out The Output To The Console The docker compose up command aggregates the output of each container (like docker compose logs --follow does). It is the same as if you execute "docker run --name mybox1 busybox" and then "docker start mybox1". In this section let us understand how to rename Docker Container. You can't run docker exec nginx:alpine sh to open a shell in a container based on the nginx:alpine image, because docker exec expects a container identifier (name or ID), not an image. Jul 11, 2024 · The following command assigns a custom name to the container: docker run --name [container-name] [image] For example, type the following command to run a container called test-container using the hello-world image: docker run --name test-container hello-world. May 20, 2020 · To start a stopped container, use docker start, followed by the container ID or the container’s name. For example, tcp://192. And you will see: May 23, 2017 · So to create the image you say docker run and give it the name of the image to run. docker stop [container_name] will gracefully stop a running container, while. Stop and Start the container. Nov 12, 2021 · docker run -d -p 27017:27017 --name example-mongo mongo:latest This will give you a live server running the latest version of MongoDB. If you run more than one container, you can't reuse this same name. Pros and Cons of Different Restart Methods. I'd like to be able to have one container per client. Now that you have an image, you can run the application in a container using the docker run command. By default, the project name is simply the name of the directory that the compose. 2. $ docker ps -a Stop a specific container. ID}}-{{. Jan 14, 2024 · The Docker CLI provides simple commands for stopping, starting, and removing containers. The container name must be unique. 03s sys 0m 0. 0. Docker execute ENTRYPOINT command when you start the container. --hostname sql1: Used to explicitly set the container hostname. Aug 21, 2024 · Once we create the container image, start one using the Docker run command. The docker/welcome-to-docker container continues to run until you stop it. docker stop <container-name/ID> Then to login to the interactive shell of a container. sh} /bin/sh /run. Docker really needs to implement this as a new feature, but here's another workaround option for situations in which you have an Entrypoint that terminates after success or failure, which can make it difficult to debug. An alias is a short or memorable alternative for a longer command. 9 The container name can be used to stop the container: docker stop MyNginx Containers can also have labels added at start-time Dec 7, 2022 · You can see that the docker operations can be performed using the docker container name $ docker restart testubuntu $ docker start testubuntu $ docker stop testubuntu . 9. Next, we’ll run several examples of using docker exec to execute commands in a Docker container. Let’s start the Ubuntu-based container with the ID of 1c08a7a0d0e4 : docker start 1c08a7a0d0e4 Jul 17, 2015 · 1. sh". 0 This setup doesn’t run multiple Elasticsearch nodes by default. Like: sudo docker rmi <docker_image_id> --force. The preceding command tells Docker to remove the container if it’s shut down. By adding --name= meaningful_name to the docker run command, an evil_ptolomy becomes more recognizable in interactive sessions as well as in the output of commands like docker ps. Nov 9, 2016 · I have created container from particular image using command: $ docker run -d -P selenium/hub running container status is below: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 345df9ed5b47 selenium/hub "/opt/bin/entry_point" 5 seconds ago Up 4 seconds 0. The following examples use the vieux/sshfs volume driver, first when creating a standalone volume, and then when starting a container which creates a new volume. However, sometimes we may need to change the port mapping for an existing container. 01 Stop your container. sh" 9 seconds ago Up 4 seconds gallant_easley You can re-attach your terminal to the container between restarts, using the docker container attach command. Hostname}}-{{. May 29, 2023 · #Option 1: Ending containers with the docker container stop command. docker run -it -p 50070:50070 -p 8088:8088 -p 8080:8080 suhothayan/hadoop-spark-pig-hive:2. docker start 4b161b302337 One can verify whether the container is running with. Service. $ docker run -d --publish = 80 busybox top $ docker run -d --expose = 8080 busybox top $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9833437217a5 busybox "top" 5 seconds ago Up 4 seconds 8080/tcp dreamy_mccarthy fc7e477723b7 busybox "top" 50 seconds ago Up 50 seconds 0. $ docker image rm $(docker images -a -q) List all existing containers (running and not running). Save the changes to your docker-compose. A container identifier is not the same thing as an image reference. May 2, 2019 · You could start the container setting a container name: docker run -d --name <container-name> <image-name> The same image could be used to spin up multiple containers, so this is a good way to start a container. This works for both background and foreground Docker containers. sudo docker stop <container_name> sudo docker start <container_name> As for using MySQL inside Docker containers, well, that’s just a match made in the clouds. The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. To confirm that the container was created, view the list of all the containers on the Jan 14, 2016 · The command is: docker run IMAGE_ID and not docker run CONTAINER_ID; Start: Launch a container previously stopped. You can also change the restart flag here. Docker Debug is a replacement for debugging with docker exec. Use the --name option to assign a custom name to the container: docker container run -d --name my_nginx nginx. s…" 22 seconds ago Up 20 seconds 0. docker run nginx:1. Run your container using the docker run command and specify the name of the image you just created: Examples Attach to and detach from a running container. The Docker provides a command to rename the docker container. Actually, the name that you define here is going to the /etc/hosts file: My requirement is get the container user name to login into the container (I need use docker exec -it --user to login container). Nov 16, 2015 · $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0b5aad08487b ubuntu "/bin/bash" 10 minutes ago Up 10 minutes big_hawking STATUSがUPになっているのが確認できます。 先ほどdettachしたubuntuコンテナに再度ログインするには、 docker attach <CONTAINER IDまたはNAME> を実行します。 You are probably wondering where the name of your container is coming from. CMD goes as arguments to ENTRYPOINT. I wonder if there is something peculiar with the way I created the container which would result in this behavior. docker rm container-id 3. Both of these can be overridden when you create a container from an image. By default, if not explicitly set, the container’s name is automatically generated by the Docker daemon. You can also use the container ID. You can start a stopped container using: docker start container_name. Docker Desktop simplifies the process of building, sharing, and running applications in containers, ensuring consistency across different environments. We can think of a Docker image as an inert template used to create Docker containers. The above command will create a new container with the specified name from the specified docker image. Note the -a flag which is shorthand for --attach . You first need to create the container from the image. . docker image removal. Must match /?[a-zA-Z0-9_-]+. So you don't need to create an image with this approach. Initial setup container_name is a string that specifies a custom container name, rather than a name generated by default. How do I execute an additional command within the container after it exits? I can see it listed by docker ps -a. 启动一个容器: docker start my_container. Restart your docker engine (to flush/clear config caches). docker start 命令 语法 docker start [OPTIONS] CONTAINER [CONTAINER] 参数-a: 附加到容器的标准输入输出流。-i: 附加并保持标准输入打开。 实例. docker container stop. Each method of restarting Docker containers has its own set of advantages and drawbacks. You can get this information from the ps command. For example: services: myservice: image: myimage container_name: custom-container-name Replace myservice with the name of your service and custom-container-name with your preferred container name. If you want to see the output of your command then you should add -ai options: docker start -ai container_name. Apr 2, 2019 · $ docker image rm [image name] Delete all existing images. With it, you can get a shell into any container or image, even slim ones, without modifications. To create an image you need to build the Dockerfile[1]. We will also learn how to test the port mapping and troubleshoot some common To run a disposable new container, you can simply attach a tty and standard input: docker run --rm -it --entrypoint bash <image-name-or-id> Or to prevent the above container from being disposed, run it without --rm. Now, let’s use the following Docker command to list running containers: docker ps Aug 1, 2017 · docker inspect image-name | less Also, if your container exists, and its status is "Exited", you can start that container, and then use docker exec as follows: docker start custom-container-name docker exec -it custom-container-name /bin/bash Reserved project and group names Search Advanced search Exact code search Command palette Run CI/CD jobs in Docker containers Use Docker to build Docker images docker container exec; docker container export; docker container inspect; docker container kill; docker container logs; docker container ls; docker container pause; docker container port; docker container prune; docker container rename; docker container restart; docker container rm; docker container run; docker container start; docker container Mar 18, 2016 · You cannot start a container from a Dockerfile. Aug 10, 2014 · When you want to run a command in an existing container (running or exited), you will identify the container either by name or container_id. If you need to start an interactive shell inside a Docker Container, perhaps to explore the filesystem or debug running processes, use docker exec with the Basic idea is to use docker inspect to obtain the pid of the container, then enter the uts namespace of the container via nsenter. Jan 7, 2015 · sudo docker exec -it <container_name> /bin/bash 2. The first signal can be changed with the STOPSIGNAL instruction in the container's Dockerfile, or the --stop-signal option to docker run. yml file. Use the Docker ps command with the -a option to list your system’s Jul 8, 2020 · yes, docker start -a container-name is the command you can use to start a container that has been created with docker run. A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. If you have worked with Docker before, all its benefits apply to MySQL docker containers, too: Isolation and consistency: MySQL instance will be isolated from other software and dependencies, preventing potential conflicts docker ps -aqf "name=^containername$" explanation:-q for quiet. For example, use the run command as shown in the following example: $ docker run --rm -it Ubuntu /bin/bash. Replace my-container with the container's name or ID. To make particular running containers start automatically on system reboot Mar 11, 2024 · Then, we’ll take a more detailed look at how to run, start, stop, and remove containers. PS E: \> docker ps -a CONTAINER ID NAME IMAGE COMMAND CREATED STATUS PORTS NAMES 3f214c61ad1d awesome_brattain nanoserver "cmd" 2 minutes ago Up 2 minutes big_minsky 9db7aa4d986d mad_wilson windowsservercore "cmd" 2 minutes ago Up 2 minutes mad_wilson 09d3bb5b1604 fervent_panini windowsservercore "cmd" 2 minutes ago Up 2 minutes affectionate Aug 16, 2023 · docker kill <container-id> docker start <container-id> Replace <container-id> with the ID of the container you want to force stop and then restart. yaml was located in. The simplest way to stop a running container is to use the docker container stop command followed by the container name: docker container stop mywebserver We can also stop multiple containers at the same time by adding their names to the docker container stop command: If you look at the Docker Dashboard, you'll see that there is a group named getting-started-app. You can then use the docker container start (or shorthand: docker start Sep 6, 2018 · The -d flag tells docker to run a container in detached mode, in the background and print the new container ID. docker rmi image-id 4. In this article, we will explore some strategies for assigning a port mapping to a running Docker container using different tools and commands. 15 0. Replace <container name> with your chosen name. The following example starts an Alpine container running top in detached mode, then attaches to the container; $ docker run -d --name topdemo alpine top -b $ docker attach topdemo Mem: 2395856K used, 5638884K free, 2328K shrd, 61904K buff, 1524264K cached CPU: 0% usr 0% sys 0% nic 99% idle 0% io 0% irq 0% sirq Load average: 0. 0:5432->5432/tcp, :::5432->5432/tcp postgres_example If we use docker logs , we can also check out more info about a started container, such as: Aug 29, 2024 · The URL or Unix socket path used to connect to the Docker API. Usage. docker ps -a Then start the docker container either by container_id or container tag names. 0 "/bin/bash" 5 minutes ago Exited (0) 5 minutes ago trusting_mclean docker container start; docker container stats; docker container rename CONTAINER NEW_NAME: Aliases. You'll fix this in a minute but first you need to stop the container. docker start. $ sudo docker run -d --name discourse_app local_discourse/app Name Docker Container. $ docker stop $(docker ps -a -q) Delete a specific container (only if stopped). $ docker stop [container name] Stop all running containers. Start an app container. There are Nov 3, 2020 · I'm trying to stop all the containers starting with the name app_ You can use a regex to indicate that the match should be at the start: docker ps -f "name=^app_" Oct 25, 2014 · You include name as a query param, not in the JSON. An alias is a short or memorable alternative for a longer Sep 2, 2015 · Add a check to the top of your Entrypoint script. ^ container name must start with this string $ container name must end with this string Getting Docker Desktop up and running is the first crucial step for developers diving into containerization, offering a seamless and user-friendly interface for managing Docker containers. Feb 15, 2022 · Docker images and containers are different things. container_name : my-web-container Compose does not scale a service beyond one container if the Compose file specifies a container_name . Jan 4, 2018 · Here are three tips that can make it easier to keep your bearings as you learn to work with containers. This is the project name from Docker Compose and used to group the containers together. These default names, consisting of a combination of adjectives and famous scientists' surnames, can make it difficult to identify and manage containers effectively. To make it more intelligent you can stop any running container before remove the image: Dec 13, 2020 · I am trying to start a docker container with the below command. The options for docker When you create a volume using docker volume create, or when you start a container which uses a not-yet-created volume, you can specify a volume driver. Start one or more stopped containers. $ sudo docker ps List Docker Containers Aug 26, 2020 · You can use it or just the 2/3 first characters to go into your container using: docker exec -it container_id /bin/bash And you can stop it using docker stop container_id and docker rm container_id. docker start <container-name/ID> To stop a running container. From the docs (on the page you linked): Query Parameters: name – Assign the specified name to the container. Overview. S. docker stop container-id 2. Additional resources. docker run --name MyNginx nginx:1. docker run -d --restart unless-stopped ecstatic_ritchie Where ecstatic_ritchie is an example name specifying the container in interest. However, the -a option displays all the containers, including the running and stopped ones: $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 789386223d03 image1:6. Jul 18, 2024 · The docker start command (an alias of docker container start) starts one or more stopped containers. docker start CONTAINER How to run docker container. In this guide, you learned how easy it is to use Docker Compose to start and stop a multi-container application compared to docker run which is error-prone and difficult to manage. To wipe you existing container, use command - docker rm -f mycontainer By default, a container has no resource constraints and can use as much of a given resource as the host's kernel scheduler allows. Example: # docker inspect 5791b95933ef |grep -i user Aug 9, 2023 · Naming Docker Containers Default Container Names. docker container start [OPTIONS] CONTAINER [CONTAINER] Aliases. 1 — Name the container when you run it. All we have to do is use two different names as well as ports: docker run --name baeldung_nginx_1 -p 80:80 -d nginxdemos/hello:plain-text docker run --name baeldung_nginx_2 -p 81:80 -d nginxdemos/hello:plain-text. docker run -d --restart=unless-stopped -p 80:80 --name webserver -v /www:/var/www/html betojulio/phalcon_project:1. docker container removal. docker ps Mar 26, 2018 · docker start [OPTIONS] CONTAINER [CONTAINER] For your case, you can use: docker start gallant_spence or; docker start eb7c13e7cdee; As it is shown by the docker ps -a result, your container is configured with this CMD: "ls /data" This means that every time you start your container, this command will run and the container will then exit. A stopped container is restarted with docker start my-container. docker rm [container_name] Mar 23, 2021 · Docker execute RUN command when you build the image. If TLS is used to encrypt the connection, the module will automatically replace tcp in the connection URL with https. 9 Containers can be named when they are created. Running an Interactive Shell in a Docker Container. (In the first case you could make it work interactively with "docker run -it --name mybox1 busybox", but in the second case I don't know how to do it. Stop docker service (per Tacsiazuma's comment) Change the file. You can restart a stopped container with all its previous changes intact using docker start. If a Docker container runs inside another Docker container, they both use host's daemon, so all mount paths reference the host, not the container. In this example, though, the name is faster. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings. Examples: Create a container named qqqq and start a process "sleep" 1 minute, and then exit. -d Apr 5, 2024 · Mounting volumes using Docker within a Docker container. The container name is optional. Then you could use this container-name to stop, attach the container: docker exec -it <container-name> bash docker stop <container $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 081991b35afe startstop "/bin/sh -c /start. To easily get a debug shell into any container, use docker debug. Containers usually run for as long as their main process stays alive. Mar 18, 2024 · docker ps shows only the running images. Since you didn’t provide a name for the container when you started it, Docker generated a random name. I'm just starting out with docker so do direct me in right direction if I'm missing some basic bit. 0:32768->80/tcp admiring_roentgen $ docker ps Jan 9, 2017 · EDIT: I'm able to get in to other containers using docker start {container-id} and then running docker attach {container-id}. uyh lgbzzbxs svcyip etcerm uqga tvhwimt nkctbiy tfqoznc qvwr gvfjxpjo