You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pro client relies on systemd-virt-detect as the primary virtualization detection tool. The fallback is looking for magic strings. It would be useful for the Dockerfile use case to document that installing systemd temporarily can help with the detection. It would be even better to improve the client to be able to call it like:
pro attach --assert-virt docker <token>
This would fail if the detection does not match docker. The command could then be dropped in the Dockerfile and give appropriate error message if detection fails to find docker.
i'm not sure if the public cloud docs are the right spot for this. @alnvdl-work@orndorffgrant do you know of any work around this on the pro docs side?
Please describe the question or issue you're facing with "How to enable Ubuntu Pro Services in a Dockerfile - Ubuntu on OCI registries documentation".
https://github.com/canonical/ubuntu-pro-client/blob/0571604c4ba715342890104703b8435972446061/uaclient/system.py#L247
The pro client relies on systemd-virt-detect as the primary virtualization detection tool. The fallback is looking for magic strings. It would be useful for the Dockerfile use case to document that installing systemd temporarily can help with the detection. It would be even better to improve the client to be able to call it like:
This would fail if the detection does not match docker. The command could then be dropped in the Dockerfile and give appropriate error message if detection fails to find docker.
Reported from: https://documentation.ubuntu.com/oci-registries/en/latest/oci-how-to/enable-pro-services/
The text was updated successfully, but these errors were encountered: