Hide Forgot
Description of problem: When trying to start docker on RHEL Atomic Host 7.2 2-2 docker fails to start. ExecStart line in '/etc/systemd/system/docker.service' should including the work daemon ie: 'ExecStart=/usr/bin/docker daemon $OPTIONS' Version-Release number of selected component (if applicable): 7.2 2-2 How reproducible: Try to start the docker daemon with 'systemctl start docker' Actual results: Error in Journalctl stating that --add-registry must come after daemon Expected results: Docker starts without error Additional info: I also had to manually remove the docker-pool logical volume then run 'docker-torage-setup' again after installation.
shouldn't it be /usr/lib/systemd/system/docker.service
also just checking, is ostree up to date on this machine?
I ran atomic host upgrade again today, and I remain on 7.2.2-2. I see there also seems to be a Systemd Unit under /usr/lib/systemd/system. Changing the one under /etc/systemd/system had the affect of modifying the unit for me. I could see the affect of my changes when running 'systemctl start docker'.
I'm not quite sure where you got the /etc/systemd/system/docker.service from. It shouldn't be present on a default/clean install. The default unitfile is (and should be) found in /usr/lib/systemd/system. Could you please check if /etc/systemd/system/docker.service occurs on a clean install?
Hi Jason, do you still see this bug? Also, could you give me the steps to reproduce this on a clean atomic host?
I reinstalled, and seems to work fine on the second attempt