Skip to content

Instantly share code, notes, and snippets.

@jmtd
Created July 23, 2015 14:58
Show Gist options
  • Save jmtd/823cf14b33479c58f32a to your computer and use it in GitHub Desktop.
Save jmtd/823cf14b33479c58f32a to your computer and use it in GitHub Desktop.
cevm$ docker exec -ti testcontainer ls -lZ /etc/resolv.conf
-rw-r--r--. root root system_u:object_r:svirt_sandbox_file_t:s0:c947,c1012 /etc/resolv.conf
cevm$ docker stop testcontainer
testcontainer
cevm$ docker start testcontainer
testcontainer
cevm$ docker top testcontainer
UID PID PPID C STIME TTY TIME CMD
root 8702 907 1 16:07 ? 00:00:00 bash -c while true; do sleep 300; echo; done
root 8737 8702 0 16:07 ? 00:00:00 sleep 300
cevm$ docker exec -ti testcontainer ls -lZ /etc/resolv.conf
-rw-------. root root system_u:object_r:svirt_sandbox_file_t:s0:c947,c1012 /etc/resolv.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment