Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Add line about how to use Ubuntu images #126

Merged
merged 1 commit into from
Apr 8, 2019
Merged

Add line about how to use Ubuntu images #126

merged 1 commit into from
Apr 8, 2019

Conversation

kongslund
Copy link
Contributor

Re #124

@@ -117,6 +117,12 @@ For example:
footloose config create --replicas 3 --image quay.io/footloose/fedora29
```

Ubuntu images need the `--privileged` flag:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only true for Ubuntu 16.04 it seems. 18.04 works without that flag here. Would you mind giving it a quick tests on your machine and specify 16.04 in that sentence if that's indeed the case?

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a need in Ubuntu 16.04. I saw an issue about it, but lost the link since. I'll try anyways. :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point was, if it's a 16.04 only issue (likely because of the version of systemd then), the sentence needs to say 16.04, not all Ubuntu images :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, right. I'm just confirming. :) And yeah the sentence needs to say only 16.04. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ubuntu 18.04 gives the following output with systemd-resolved.service errors when not using --privileged.

systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK 
[...snip...]
[  OK  ] Reached target Swap.
systemd-resolved.service: Failed to reset devices.list: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
Failed to set devices.allow on /docker/b7f77c63c5f6dc0d2c01d2b1aae9711f2ab2be93761359e84c78aab17ce634f5/system.slice/systemd-resolved.service: Operation not permitted
         Starting Network Name Resolution...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[...snip...]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks a lot for testing. There are some interesting differences we will need to get to the bottom of but, for now, adding the sentence makes sense!

@dlespiau
Copy link
Contributor

dlespiau commented Apr 8, 2019

Thanks a lot for your PR, merging!

Opened #128 as a follow up, my gut feeling is that we want to default to privileged containers to be more user friendly.

@dlespiau dlespiau merged commit ebb2157 into weaveworks:master Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants