-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
$ docker images | grep nginx
nginx stable-alpine c0dddb65129b 13 days ago 15.47 MB
nginx alpine 25ea644a8c4c 13 days ago 60.64 MB
nginx stable 0d493297b409 13 days ago 133.2 MB
nginx latest eb4a127a1188 13 days ago 182.7 MB
$ docker info
Containers: 11
Running: 4
Paused: 0
Stopped: 7
Images: 130
Server Version: 1.11.0
Storage Driver: aufs
Root Dir: /home/docker/aufs
Backing Filesystem: xfs
Dirs: 529
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 3.16.0-4-amd64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.653 GiB
Name: some-host
ID: UEOL:XQMP:A5QN:T634:FFRS:EPGG:C43D:ZPVV:EFER:Y3YP:LSRZ:FSXJ
Docker Root Dir: /home/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
$ docker run -d --name nginx nginx:stable
37b951beb68e0b6876e26fd8ceb2c00c94614c96214aeb14309ae1a895b12e45
$ docker logs nginx
$ sudo cat $(docker inspect -f '{{.LogPath}}' nginx)
$ sudo ls -la $(docker inspect -f '{{.LogPath}}' nginx)
-rw-r----- 1 root root 0 апр 19 14:03 /home/docker/containers/37b951beb68e0b6876e26fd8ceb2c00c94614c96214aeb14309ae1a895b12e45/37b951beb68e0b6876e26fd8ceb2c00c94614c96214aeb14309ae1a895b12e45-json.log
Its empty for images nginx:latest, nginx:stable, nginx:alpine, stable-alpine