This is the definition of the docker container:
version: '2'
services:
alpine-test:
container_name: alpine-test
image: alpine:latest
command: tail -F /dev/null
volumes:
- /:/rootfs
If I try to copy a file from this container, eventually it returns "Error response from daemon: no space left on device" error:
# docker cp alpine-test:/etc/hostname /tmp/
# docker cp alpine-test:/etc/hostname /tmp/
# docker cp alpine-test:/etc/hostname /tmp/
Error response from daemon: no space left on device
#
I am failed to find any workaround or explanation of this.
Thanks