How to bring a running docker container again foreground

I have a docker container running

sudo docker ps -a

result:

  • Any hook for Docker killed by out of memory
  • Push docker image to Google Container Registry failure on Mac
  • How to find out about docker image updates via commandline
  • Hygieia collectors not working
  • Tomcat7 in debian:wheezy Docker instance fails to start
  • unable to install pg-native (libpq-dev) on ubuntu 14.04
  • 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 ?

  • Clone an image from a docker registry to another
  • sbt-native-packager for Docker on Mac OS X
  • Docker UCP Error: x509: certificate signed by unknown authority
  • How to add filter in fluentd
  • user: Current not implemented on linux/amd64 with golang using docker scrtach
  • Docker-compose: Encountered errors while bringing up the project
  • 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.