Bear in mind your user’s environment you run commands as will not be the same as the environment docker deamon is started as via systemd – you have the unit files (as the one below) to configure it.

 

If it’s still the same error you’re seeing:

level=fatal msg="Error starting daemon: Get https://download.clearlinux.org/latest: dial tcp 198.145.21.150:443

 

it’s clearly communication problem. Try connecting to the above address manually as yourself to rule out any further down (firewall and/or network issues) obstacles.

 

Also, it looks to connect to https which would indicate you need HTTPS_PROXY configuration as well.

 

 

From: Al Patel [mailto:alps.oss@gmail.com]
Sent: Tuesday, November 10, 2015 8:31 PM
To: Znoinski, Waldemar <waldemar.znoinski@intel.com>
Cc: dev@lists.clearlinux.org; Leeland, Amy L <amy.l.leeland@intel.com>; Kok, Auke-jan H <auke-jan.h.kok@intel.com>
Subject: Re: [Dev] Issue with trying out clear containers on fedora23

 

I added the proxy (was already in my environment). Restart fails.

 

After flushing/deleting all iptables rules/chains, still fails to restart.

 

I then uninstalled clear-containers-docker , remove /var/run/docker and reinstalled clear-containers-docker

 

Still does not start.

 

Any other suggestions?

 

thx

-a

 

On Tue, Nov 10, 2015 at 1:38 PM, Znoinski, Waldemar <waldemar.znoinski@intel.com> wrote:

You may need to add proxy info to one of the files, i.e.:

cat /etc/systemd/system/docker.service.d/http-proxy.conf

[Service]

Environment="HTTP_PROXY=http://<host>:<port>/"

 

And restart docker service.

 

If it doesn’t help it may be something to do with your iptables (a radical try could be sudo iptables -F, sudo iptables -X to test).

 

From: Dev [mailto:dev-bounces@lists.clearlinux.org] On Behalf Of Al Patel
Sent: Tuesday, November 10, 2015 6:07 PM
To: dev@lists.clearlinux.org; Leeland, Amy L <amy.l.leeland@intel.com>; Kok, Auke-jan H <auke-jan.h.kok@intel.com>
Subject: [Dev] Issue with trying out clear containers on fedora23

 

Hi,

 

I am following the instructions at: 

 

I am not able to start the clearcontainer-docker version of the docker daemon

 

I can successfully do:

dnf install clear-containers-docker --allowerasing

 

the above removes the default docker and downgrades docker-selinux package

and installs clear-containers-dockers

 

Is this a known issue? What is the workaround?

 

systemctl status docker.service -l

â docker.service - Docker Application Container Engine

   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)

   Active: failed (Result: exit-code) since Tue 2015-11-10 06:01:01 EST; 8s ago

     Docs: https://docs.docker.com

  Process: 33424 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)

 Main PID: 33424 (code=exited, status=1/FAILURE)

 

Nov 10 06:00:45 fe-ucs121 systemd[1]: Starting Docker Application Container Engine...

Nov 10 06:00:46 fe-ucs121 docker[33424]: time="2015-11-10T06:00:46.037095421-05:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""

Nov 10 06:00:46 fe-ucs121 docker[33424]: time="2015-11-10T06:00:46.037760050-05:00" level=info msg="Option DefaultDriver: bridge"

Nov 10 06:00:46 fe-ucs121 docker[33424]: time="2015-11-10T06:00:46.037785506-05:00" level=info msg="Option DefaultNetwork: bridge"

Nov 10 06:00:46 fe-ucs121 docker[33424]: time="2015-11-10T06:00:46.049729939-05:00" level=info msg="Firewalld running: true"

Nov 10 06:01:01 fe-ucs121 docker[33424]: time="2015-11-10T06:01:01.407824832-05:00" level=fatal msg="Error starting daemon: Get https://download.clearlinux.org/latest: dial tcp 198.145.21.150:443: i/o timeout"

Nov 10 06:01:01 fe-ucs121 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE

Nov 10 06:01:01 fe-ucs121 systemd[1]: Failed to start Docker Application Container Engine.

Nov 10 06:01:01 fe-ucs121 systemd[1]: docker.service: Unit entered failed state.

Nov 10 06:01:01 fe-ucs121 systemd[1]: docker.service: Failed with result 'exit-code'.

 

 

Second question:

 

 

Also, I brought up clear containers using : boot.sh (separately). I see

that the container is "barebone"

 

Two further questions:

1. how do I go about building the linux kernel for clearlinux and use in docker engine and in standalone version?

 

2. how do I go about adding applications to the clearcontainer?

 

thanks

-a

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

 

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.