spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
➜ ~ docker exec -it d1d45faeeb6e /bin/bash
root@0e600b0d0cff:/usr/local/apache2# pwd
/usr/local/apache2
root@0e600b0d0cff:/usr/local/apache2#
root@0e600b0d0cff:/usr/local/apache2# ls -la
total 56
drwxr-sr-x 1 www-data www-data 4096 May 8 02:05 .
drwxrwsr-x 1 root staff 4096 May 8 02:03 ..
drwxr-sr-x 2 root www-data 4096 May 8 02:05 bin
drwxr-sr-x 2 root www-data 4096 May 8 02:05 build
drwxr-sr-x 2 root www-data 4096 May 8 02:05 cgi-bin
drwxr-sr-x 4 root www-data 4096 May 8 02:05 conf
drwxr-sr-x 3 root www-data 4096 May 8 02:05 error
drwxr-xr-x 7 1000 1000 4096 Nov 19 2018 htdocs
drwxr-sr-x 3 root www-data 4096 May 8 02:05 icons
drwxr-sr-x 2 root www-data 4096 May 8 02:05 include
drwxr-sr-x 1 root www-data 4096 Sep 25 15:02 logs
drwxr-sr-x 2 root www-data 4096 May 8 02:05 modules