<div dir="ltr"><div>Docker(ls -alh)</div><div><br></div><div>crw------- 1 root root 136, 9 Feb 10 18:20 console<br></div><div>lrwxrwxrwx 1 root root 13 Feb 10 18:20 fd -> /proc/self/fd</div><div>crw-rw-rw- 1 root root 1, 7 Feb 10 18:20 full</div><div>c--------- 1 root root 10, 229 Feb 10 18:20 fuse</div><div>lrwxrwxrwx 1 root root 11 Feb 10 18:20 kcore -> /proc/kcore</div><div>drwxrwxrwt 2 root root 40 Oct 30 08:01 mqueue</div><div>crw-rw-rw- 1 root root 1, 3 Feb 10 18:20 null</div><div>lrwxrwxrwx 1 root root 8 Feb 10 18:20 ptmx -> pts/ptmx</div><div>drwxr-xr-x 2 root root 0 Feb 10 18:20 pts</div><div>crw-rw-rw- 1 root root 1, 8 Feb 10 18:20 random</div><div>drwxrwxrwt 2 root root 40 Feb 10 18:20 shm</div><div>lrwxrwxrwx 1 root root 15 Feb 10 18:20 stderr -> /proc/self/fd/2</div><div>lrwxrwxrwx 1 root root 15 Feb 10 18:20 stdin -> /proc/self/fd/0</div><div>lrwxrwxrwx 1 root root 15 Feb 10 18:20 stdout -> /proc/self/fd/1</div><div>crw-rw-rw- 1 root root 5, 0 Feb 10 18:20 tty</div><div>crw-rw-rw- 1 root root 1, 9 Feb 10 18:20 urandom</div><div>crw-rw-rw- 1 root root 1, 5 Feb 10 18:20 zero</div><div><br></div><div>LXC (ls -alh /dev)</div><div><div>crw-rw---- 1 root tty 136, 18 Feb 10 07:15 console<br></div><div>lrwxrwxrwx 1 root root 11 Feb 10 07:15 core -> /proc/kcore</div><div>lrwxrwxrwx 1 root root 13 Feb 10 07:15 fd -> /proc/self/fd</div><div>crw-rw-rw- 1 nobody nogroup 1, 7 Feb 9 08:32 full</div><div>srw-rw-rw- 1 root root 0 Feb 10 07:15 log</div><div>drwxrwxrwt 2 nobody nogroup 40 Feb 10 07:15 mqueue</div><div>drwxr-xr-x 2 root root 40 Feb 10 07:15 net</div><div>crw-rw-rw- 1 nobody nogroup 1, 3 Feb 9 08:32 null</div><div>lrwxrwxrwx 1 root root 13 Feb 10 07:15 ptmx -> /dev/pts/ptmx</div><div>drwxr-xr-x 2 nobody nogroup 0 Feb 10 07:15 pts</div><div>lrwxrwxrwx 1 root root 4 Feb 10 07:15 ram -> ram1</div><div>crw-rw-rw- 1 nobody nogroup 1, 8 Feb 9 08:32 random</div><div>lrwxrwxrwx 1 root root 8 Feb 10 07:15 shm -> /run/shm</div><div>lrwxrwxrwx 1 root root 4 Feb 10 07:15 stderr -> fd/2</div><div>lrwxrwxrwx 1 root root 4 Feb 10 07:15 stdin -> fd/0</div><div>lrwxrwxrwx 1 root root 4 Feb 10 07:15 stdout -> fd/1</div><div>crw-rw-rw- 1 nobody nogroup 5, 0 Feb 10 18:17 tty</div><div>crw-rw---- 1 root tty 136, 0 Feb 10 07:15 tty1</div><div>crw-rw---- 1 root tty 136, 1 Feb 10 07:15 tty2</div><div>crw-rw---- 1 root tty 136, 2 Feb 10 07:15 tty3</div><div>crw-rw---- 1 root tty 136, 3 Feb 10 07:15 tty4</div><div>drwxr-xr-x 3 root root 60 Feb 10 07:15 .udev</div><div>crw-rw-rw- 1 nobody nogroup 1, 9 Feb 9 08:32 urandom</div><div>crw-rw-rw- 1 nobody nogroup 1, 5 Feb 9 08:32 zero</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 10:15 AM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 10.02.16 11:39, Daniel J Walsh (<a href="mailto:dwalsh@redhat.com">dwalsh@redhat.com</a>) wrote:<br>
<br>
> /sys as readonly<br>
> /tmp and /run on tmpfs.<br>
> /etc/machine-id created to match containerid.<br>
> /var/log/journald/UUID mounted from the host so that journalctl -M UUID<br>
> will work.<br>
<br>
Out of curiosity: what does /dev/ look like inside the container?<br>
<span class="HOEnZb"><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</font></span></blockquote></div><br></div>