Using machinectl with docker containers
Issue
- what about using host machinectl to inspect containers' internals? Does it work? So far I failed to succeed:
[root@host ~]# docker run -d --name test rhel7.3 init
94a58c9c53278170e276915a16cfff8f74160b1ce6331c633059f935ba9cabcd
[root@host ~]# machinectl status 94a58c9c53278170e276915a16cfff8f74160b1ce6331c633059f935ba9cabcd
Could not get path to machine: No machine '94a58c9c53278170e276915a16cfff8f74160b1ce6331c633059f935ba9cabcd' known
[root@host ~]# machinectl list
MACHINE CLASS SERVICE
0 machines listed.
Environment
- Red Hat Enterprise Linux 7
- docker
- oci-register-machine
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.