title: Attach to container from docker compose restarts container
body: <p>I have 2 services with 2 different images in my docker-compose.yml, when I run "docker-compose up -d", containers are started properly, but when i try to do "docker attach ", container restarts.</p>
  
  <p>Can anyone please explain this behavior. How can attach to the container?</p>