Hi, most pacc examples shows running docker run with -it (interactive and tty) option and it's running fine. But when I start using with -d (detached) option, the constrained always exited when I do a docker ps -a.
Anyone knows the reason? Thanks
Hi Teik Hooi Beh,
Could you please provide following information:
OS - CentOS 7.3
Invite you to join the discussion and share your PACC knowledge.
Thank you very much!
Tug and Ted,
Could you please share your PACC knowledge?
Teik Hooi Beh The init/post scripts for container require the terminal access to finish few required steps and, in absence of terminal, the required execution steps are failed. Hence, to make sure the container script works fine, either provide -it or -dt (and exec -it ) when running/starting the container.
Hope this will help. Let me know if you have any questions?
Retrieving data ...