for-linux icon indicating copy to clipboard operation
for-linux copied to clipboard

diff command returns incorrect information about a "deleted" folder

Open roiebe opened this issue 8 years ago • 0 comments

  • [x] This is a bug report
  • [ ] This is a feature request
  • [x] I searched existing issues before opening this one

Expected behavior

docker diff will return kind of deleted only for deleted folder

Actual behavior

the folder exists

Steps to reproduce the behavior

setup GKE cluster with ubuntu OS. and run: kubectl create deployment nginx --image=nginx connect to a node with a pod from nginx deployment and run: docker ps | grep nginx

acd19f31f523 nginx@sha256:4ffd9758ea9ea360fd87d0cee7a2d1cf9dba630bb57ca36b3108dcd3708dc189 "nginx -g 'daemon ..." 39 seconds ago Up 39 seconds k8s_nginx_nginx-7d7cbfc4f-p9sz8_default_b8d0f0a1-9ad5-11e8-8594-42010a8000bd_0 7f6432b557c6 gcr.io/google_containers/pause-amd64:3.0 "/pause" 41 seconds ago Up 40 seconds k8s_POD_nginx-7d7cbfc4f-p9sz8_default_b8d0f0a1-9ad5-11e8-8594-42010a8000bd_0

docker diff acd19f31f523

C /run A /run/nginx.pid D /run/secrets A /run/secrets/kubernetes.io A /run/secrets/kubernetes.io/serviceaccount C /var/cache/nginx D /var/cache/nginx/client_temp D /var/cache/nginx/fastcgi_temp D /var/cache/nginx/proxy_temp D /var/cache/nginx/scgi_temp D /var/cache/nginx/uwsgi_temp

check that folder "/run/secrets" indeed exists: docker exec acd19f31f523 ls /run

lock nginx.pid secrets utmp

Output of docker version:

Client:
Version: 17.03.2-ce
API version: 1.27
Go version: go1.6.2
Git commit: f5ec1e2
Built: Tue Nov 21 16:41:54 2017
OS/Arch: linux/amd64

Server:
Version: 17.03.2-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.6.2
Git commit: f5ec1e2
Built: Tue Nov 21 16:41:54 2017
OS/Arch: linux/amd64
Experimental: false

Output of docker info:

Containers: 24
Running: 24
Paused: 0
Stopped: 0
Images: 17
Server Version: 17.03.2-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.13.0-1015-gcp
Operating System: Ubuntu 16.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.298 GiB
Name: gke-cluster-1-default-pool-1d7b9b1a-f2d0
ID: 4OQB:4755:R3WN:LXHS:M5OZ:BFHH:M2AV:XSCI:Q7HA:3HDD:5KX6:YX2Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
10.0.0.0/8
127.0.0.0/8
Registry Mirrors:
https://mirror.gcr.io/
Live Restore Enabled: false

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.) kubectl version

Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.7", GitCommit:"dd5e1a2978fd0b97d9b78e1564398aeea7e7fe92", GitTreeState:"clean", BuildDate:"2018-04-19T00:05:56Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.7-gke.3", GitCommit:"9b5b719c5f295c99de68ffb5b63101b0e0175376", GitTreeState:"clean", BuildDate:"2018-05-31T18:32:23Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

roiebe avatar Aug 08 '18 07:08 roiebe