https://github.com/analytically/docker-overlayfs-bug
Demonstration docker image for https://github.com/docker/docker/issues/12080
https://github.com/analytically/docker-overlayfs-bug
Last synced: 9 months ago
JSON representation
Demonstration docker image for https://github.com/docker/docker/issues/12080
- Host: GitHub
- URL: https://github.com/analytically/docker-overlayfs-bug
- Owner: analytically
- Created: 2015-04-04T17:16:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-13T14:02:22.000Z (almost 11 years ago)
- Last Synced: 2025-09-26T15:40:19.530Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 124 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-overlayfs-bug
Demonstrates bug with Docker and OverlayFS when using unix domain sockets (via supervisord).
* Docker 1.5.0 - 1.8.2 are affected
* Kernel Version: 3.18.4-031804-generic to 4.1.6-040106-generic
* Operating System: Ubuntu 14.10 and 15.04
# With device-mapper
`docker build -t docker-overlay .`
`docker run -t -i docker-overlay`
```
2015-04-04 17:15:13,112 CRIT Supervisor running as root (no user in config file)
2015-04-04 17:15:13,112 WARN No file matches via include "/etc/supervisor/conf.d/*.conf"
2015-04-04 17:15:13,122 INFO RPC interface 'supervisor' initialized
2015-04-04 17:15:13,122 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-04-04 17:15:13,122 INFO supervisord started with pid 1
2015-04-04 17:15:14,124 INFO spawned: 'test-unix-domain-socket' with pid 7
2015-04-04 17:15:14,214 INFO spawned: 'sleep' with pid 11
2015-04-04 17:15:15,216 INFO success: test-unix-domain-socket entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-04-04 17:15:15,216 INFO success: sleep entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-04-04 17:15:15,228 INFO exited: test-unix-domain-socket (exit status 0; expected)
^C2015-04-04 17:15:23,862 WARN received SIGINT indicating exit request
2015-04-04 17:15:23,863 INFO waiting for sleep to die
2015-04-04 17:15:23,863 INFO stopped: sleep (terminated by SIGTERM)
```
# With overlayfs (on extfs)
`docker build -t docker-overlay .`
`docker run -t -i docker-overlay`
```
2015-04-04 17:11:45,976 CRIT Supervisor running as root (no user in config file)
2015-04-04 17:11:45,976 WARN No file matches via include "/etc/supervisor/conf.d/*.conf"
2015-04-04 17:11:45,982 INFO RPC interface 'supervisor' initialized
2015-04-04 17:11:45,982 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-04-04 17:11:45,982 INFO supervisord started with pid 1
2015-04-04 17:11:46,985 INFO spawned: 'test-unix-domain-socket' with pid 11
2015-04-04 17:11:47,074 INFO exited: test-unix-domain-socket (exit status 0; not expected)
2015-04-04 17:11:48,076 INFO spawned: 'test-unix-domain-socket' with pid 15
2015-04-04 17:11:48,165 INFO exited: test-unix-domain-socket (exit status 0; not expected)
2015-04-04 17:11:50,168 INFO spawned: 'test-unix-domain-socket' with pid 19
2015-04-04 17:11:50,276 INFO exited: test-unix-domain-socket (exit status 0; not expected)
^C2015-04-04 17:11:52,432 WARN received SIGINT indicating exit request
2015-04-04 17:11:52,432 INFO waiting for test-unix-domain-socket to die
```