title: Docker container not starting with ubuntu image (docker start)
body: <p>If I run a container directly from an Ubuntu image using <code>docker container run ubuntu</code>, I can easily restart it using a <code>docker start &lt;CONTAINER ID&gt;</code>. However, I run the container using the image by <code>docker run &lt;ID IMAGE&gt;</code>, once I exit the pseudo-terminal, It's completely lost.</p>
  <p>I noticed that the status updated every time I tried to restart it, which means that the main process starts and immediately stops.
  Any idea?</p>
  <pre><code>portaivan@training-vm:~$ docker image ls -a
  REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  ubuntu              latest              d70eaf7277ea        8 days ago          72.9MB
  portaivan@training-vm:~$ docker container ls -a
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
  4004895feff9        d70eaf7277ea        &quot;/bin/bash&quot;         3 hours ago         Exited (0) 3 hours ago                          heuristic_lovelace
  3b1b521d62aa        ubuntu              &quot;/bin/bash&quot;         3 hours ago         Exited (0) 23 seconds ago                       sleepy_pike
  portaivan@training-vm:~$ docker start 3b1b521d62aa
  3b1b521d62aa
  portaivan@training-vm:~$ docker container ls -a
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                   PORTS               NAMES
  4004895feff9        d70eaf7277ea        &quot;/bin/bash&quot;         3 hours ago         Exited (0) 3 hours ago                       heuristic_lovelace
  3b1b521d62aa        ubuntu              &quot;/bin/bash&quot;         3 hours ago         Up 2 seconds                                 sleepy_pike
  portaivan@training-vm:~$ docker container start 4004895feff9
  4004895feff9
  portaivan@training-vm:~$ docker container ls -a
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS               NAMES
  4004895feff9        d70eaf7277ea        &quot;/bin/bash&quot;         3 hours ago         Exited (0) 2 seconds ago                       heuristic_lovelace
  3b1b521d62aa        ubuntu              &quot;/bin/bash&quot;         3 hours ago         Up 17 seconds                                  sleepy_pike
  portaivan@training-vm:~$ docker container start -i 4004895feff9
  portaivan@training-vm:~$ docker container ls -a
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS               NAMES
  4004895feff9        d70eaf7277ea        &quot;/bin/bash&quot;         3 hours ago         Exited (0) 2 seconds ago                       heuristic_lovelace
  3b1b521d62aa        ubuntu              &quot;/bin/bash&quot;         3 hours ago         Up 28 seconds                                  sleepy_pike
  </code></pre>