2

I need only to "unblock" my terminal after docker-compose up... There are some option or setpup for it?

NOTES: my service is using unless-stopped so supposing that not need to use -d on the command line.

    ...
    image: etc/etc
    restart: unless-stopped
    network_mode: host
    ...

PS: I need keep container running and I not need to use & in the terminal line, I need no extra-process running. Seens "-t" ... The name of this "blocking mode" is "pseudo-TTY"?

Peter Krauss
  • 13,174
  • 24
  • 167
  • 304

1 Answers1

2

All examples say to use simplest docker-compose up but it is not, seems that you MUST use option even when yml say what you want: sudo docker-compose up --detach.

Peter Krauss
  • 13,174
  • 24
  • 167
  • 304