# Docker does not attach to a container

**URL:** <https://forums.docker.com/t/docker-does-not-attach-to-a-container/97688>\
**Category:** Windows Server 2016\
**Created:** [August 16, 2020, 6:22am UTC](https://forums.docker.com/t/docker-does-not-attach-to-a-container/97688 "2020-08-16T06:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guestfreeman](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@guestfreeman](https://forums.docker.com/u/guestfreeman)\
**Post date:** [August 16, 2020, 6:22am UTC](https://forums.docker.com/t/docker-does-not-attach-to-a-container/97688/1 "2020-08-16T06:22:57Z")

</div>

### Expected behavior

Docker should attach to a container

### Actual behavior

Docker does not attach

### Information

Docker just does not attach. 5 minutes left from command

### Steps to reproduce the behavior

1. Run container by a command: docker run -e ‘ACCEPT-EULA=Y’ microsoft/mssql-server-windows-express
2. Try to attach to this container by a command: docker attach 17eaf1fa2973

- But docker does not attach. Why ?
