Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@precise64:/tmp# docker run -it --rm ubuntu:12.04 bash -c "ls -la /dev"
total 4
drwxr-xr-x 4 root root 240 Jun 19 15:47 .
drwxr-xr-x 48 root root 4096 Jun 19 15:47 ..
crw------- 1 root root 136, 3 Jun 19 15:47 console
crw-rw-rw- 1 root root 1, 7 Jun 19 15:47 full
crw-rw-rw- 1 root root 1, 3 Jun 19 15:47 null
lrwxrwxrwx 1 root root 8 Jun 19 15:47 ptmx -> pts/ptmx
drwxr-xr-x 2 root root 0 Jun 19 15:47 pts
crw-rw-rw- 1 root root 1, 8 Jun 19 15:47 random
drwxrwxrwt 2 root root 40 Jun 19 15:47 shm
crw-rw-rw- 1 root root 5, 0 Jun 19 15:47 tty
crw-rw-rw- 1 root root 1, 9 Jun 19 15:47 urandom
crw-rw-rw- 1 root root 1, 5 Jun 19 15:47 zero
root@precise64:/tmp#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment