How to bring a running docker container again foreground

I have a docker container running

sudo docker ps -a

result:

  • Why docker stops already running containers during startup?
  • “cp: Command not found” when recreating and extending centos6-i386 Docker base image
  • Error running docker and nodemcu-build in linux (debian)
  • Kubernetes: Managing environment config
  • How to provide user defined argument and value in docker run?
  • How do I configure a bridged network for Docker?
  • CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS                PORTS               NAMES
    0cd8d5166717        32bit/ubuntu:14.04   /bin/bash           15 hours ago        Up About an hour                        hadoop-test        
    

    How can I bring this running container again to -it mode and grab the terminal of ubuntu system ?

  • couchbase - [Errno 113] No route to host
  • importerror:no module name docker.client
  • Wake On Lan - Linux - .Net Core
  • Docker container mongod error when starting via ssh
  • How to apply new logrotate config for syslog, without restarting the system?
  • Docker container - node application - run issue
  • One Solution collect form web for “How to bring a running docker container again foreground”

    You can attach it:

    docker attach 0cd8d5166717
    

    Type Ctrl-PCtrl-Q to detach it again.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.