# Attach close container

**URL:** <https://forums.docker.com/t/attach-close-container/51759>\
**Category:** General\
**Created:** [June 3, 2018, 12:01am UTC](https://forums.docker.com/t/attach-close-container/51759 "2018-06-03T00:01:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b0nete](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@b0nete](https://forums.docker.com/u/b0nete)\
**Post date:** [June 3, 2018, 12:01am UTC](https://forums.docker.com/t/attach-close-container/51759/1 "2018-06-03T00:01:37Z")

</div>

Hi guys, i have problem when try access container with the command “docker attach”.

The problem is generated when execute command "docker attach ID’, i press enter and the terminal return to the command line without join to container.

If after this i execute ‘docker ps -a’ see as container was closed and status is “Exited (74)”.

I Attach the output of the ‘docker ps -a’

> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
> 81a693e30e9c d3 “in.tftpd /bin/bash” 21 minutes ago Exited (74) 20 minutes ago quizzical\_liskov
