« Back to projectatomic.io
Ask Your Question

docker exec command not working, it is not able to open bash [closed]

asked 2015-06-25 10:27:31 +0000

sujit gravatar image

[root@localhost byo-atomic]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6c2b1159671e root/atomicrepo:latest "/run-apache.sh" 21 minutes ago Up 21 minutes 80/tcp,>8000/tcp atomicrepo

[root@localhost byo-atomic]# docker exec -it atomicrepo bash [root@localhost byo-atomic]# docker logs atomicrepo Passing arguments to httpd using apachectl is no longer supported. You can only start/stop/restart httpd using this script. If you want to pass extra arguments to httpd, edit the /etc/sysconfig/httpd config file. AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by jzb
close date 2015-06-29 18:26:04.453340

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-29 15:38:08 +0000

jzb gravatar image

Hi - would like to try to help you here, but I'm really not sure what version(s) of Docker or atomic images you're using. We could probably help better if you choose one of the images we're producing and containers from Fedora or CentOS.

See here:




edit flag offensive delete link more


hi, thanks for your reply. I was using docker 1.5 and exec command was not working. Then i tried docker 1.6 / 1.7.... it is working fine now :D So, it was problem with version only

sujit ( 2015-06-29 17:22:26 +0000 )edit

Ah, OK - then I'll go ahead and close this. Thanks!

jzb ( 2015-06-29 18:25:52 +0000 )edit

Top Form TemplatesClick hereLink

ankurr5421 ( 2017-12-02 11:58:02 +0000 )edit


ankurr5421 ( 2017-12-02 11:58:23 +0000 )edit


Asked: 2015-06-25 10:27:31 +0000

Seen: 2,671 times

Last updated: Jun 29 '15