Hi,

you can't run Docker in LX zone, only on Triton, which has Docker API endpoint. 
See Triton documentation for Docker or sdc-docker.

Cheers,
Adam

> On 20 Jun 2016, at 11:37, Gavin Ang <[email protected]> wrote:
> 
> Hi,
>    Was trying to get docker up and running in a LX zone. I am using the 
> latest 20160601 Centos 7.2 image. I have installed the latest docker engine 
> (1.11.2) However, I am unable to start docker on this machine. The error 
> message is as follows:
>  
> <code>
> Redirecting to /bin/systemctl start  docker.service
> Job for docker.service failed because the control process exited with error 
> code. See "systemctl status docker.service" and "journalctl -xe" for details.
> [root@81fbeca8-7d24-6f80-8921-ba00ad84147f ~]# journalctl -xe
> -- Unit systemd-timedated.service has begun starting up.
> Jun 20 09:21:49 81fbeca8-7d24-6f80-8921-ba00ad84147f 
> systemd-timedated[84344]: /etc/localtime should be a symbolic link to a time 
> zone data file in /usr/share/zoneinfo/.
> Jun 20 09:21:49 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: Started 
> Time & Date Service.
> -- Subject: Unit systemd-timedated.service has finished start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-timedated.service has finished starting up.
> --
> -- The start-up result is done.
> Jun 20 09:21:49 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Unregistered Authentication Agent for unix-process:84339:2871826594 (system 
> bus name :1.21, object path /org/freedesk
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Registered Authentication Agent for unix-process:84346:2871826661 (system bus 
> name :1.23 [/usr/bin/pkttyagent --notif
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: 
> Reloading.
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: 
> Configuration file /usr/lib/systemd/system/auditd.service is marked 
> world-inaccessible. This has no effect as configu
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: 
> Configuration file /usr/lib/systemd/system/ebtables.service is marked 
> executable. Please remove executable permission
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Unregistered Authentication Agent for unix-process:84346:2871826661 (system 
> bus name :1.23, object path /org/freedesk
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Registered Authentication Agent for unix-process:84363:2871826862 (system bus 
> name :1.24 [/usr/bin/pkttyagent --notif
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: Starting 
> Hostname Service...
> -- Subject: Unit systemd-hostnamed.service has begun start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-hostnamed.service has begun starting up.
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: Started 
> Hostname Service.
> -- Subject: Unit systemd-hostnamed.service has finished start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-hostnamed.service has finished starting up.
> --
> -- The start-up result is done.
> Jun 20 09:21:50 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Unregistered Authentication Agent for unix-process:84363:2871826862 (system 
> bus name :1.24, object path /org/freedesk
> Jun 20 09:22:03 81fbeca8-7d24-6f80-8921-ba00ad84147f polkitd[83976]: 
> Registered Authentication Agent for unix-process:84369:2871839811 (system bus 
> name :1.26 [/usr/bin/pkttyagent --notif
> Jun 20 09:22:03 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: Starting 
> Docker Application Container Engine...
> -- Subject: Unit docker.service has begun start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit docker.service has begun starting up.
> Jun 20 09:22:03 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[84384]: Failed 
> at step NAMESPACE spawning /usr/bin/docker: Function not implemented
> -- Subject: Process /usr/bin/docker could not be executed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- The process /usr/bin/docker could not be executed and failed.
> --
> -- The error number returned by this process is 38.
> Jun 20 09:22:03 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: 
> docker.service: main process exited, code=exited, status=226/NAMESPACE
> Jun 20 09:22:03 81fbeca8-7d24-6f80-8921-ba00ad84147f systemd[82946]: Failed 
> to start Docker Application Container Engine.
> -- Subject: Unit docker.service has failed
> -- Defined-By: systemd
> </code>
>  
> I note that there were some changes to systemd recently. Anyone has any ideas?
>  
> Thanks,
> Gavin Ang
> Global Mobility Laboratory
>  
> smartos-discuss | Archives | Modify Your Subscription  



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to