E47C Docker-cli cannot start images in linux kernel >= 4.12 · Issue #34283 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Docker-cli cannot start images in linux kernel >= 4.12 #34283

@thypon

Description

@thypon

Description

Docker cannot start images in linux kernel >= 4.12. The output from docker-cli is similar to #32064

Steps to reproduce the issue:

  1. Install a kernel more recent or equal to 4.12
  2. docker run -ti ubuntu bash

Describe the results you received:
docker-cli returns this error:

;) docker run -ti ubuntu bash
docker: Error response from daemon: devmapper: Error mounting '/dev/mapper/docker-254:1-3555883-1d05cb6984fba32ac38b8d0a052d3078fd6f9fd87ed4fd1821244865633fb099-init' on '/var/lib/docker/devicemapper/mnt/1d05cb6984fba32ac38b8d0a052d3078fd6f9fd87ed4fd1821244865633fb099-init': input/output error.
See 'docker run --help'.

Describe the results you expected:
The expected result is a running bash in a ubuntu container

Additional information you deem important (e.g. issue happens only occasionally):
Downgrading to Linux 4.11 or any other supported older version doesn't trigger the bug.

The setup is a direct-lvm with this config:

{                                                    
        "storage-driver": "devicemapper",            
        "storage-opts": [                            
                "dm.thinpooldev=/dev/mapper/vext-docker",                                                 
                "dm.use_deferred_removal=true",      
                "dm.use_deferred_deletion=true"      
        ]                                                                                                                                                                                                           
}                  

Output of docker version:

Client:
 Version:      unknown-version
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   unknown-commit
 Built:        unknown-buildtime
 OS/Arch:      linux/amd64

Server:
 Version:      17.06.0-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   v17.06.0-ce
 Built:        Sun Jul  9 09:17:25 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:

Containers: 0                                                                                                                                                                                                       
 Running: 0                                                                                                                                                                                                         
 Paused: 0                                                                                                                                                                                                          
 Stopped: 0                                                                                                                                                                                                         
Images: 34                                                                                                                                                                                                          
Server Version: 17.06.0-ce                                                                                                                                                                                          
Storage Driver: devicemapper                                                                                                                                                                                        
 Pool Name: vext-docker                                                                                                                                                                                             
 Pool Blocksize: 524.3kB    
 Base Device Size: 10.74GB                           
 Backing Filesystem: xfs                             
 Data file:                                          
 Metadata file:                                      
 Data Space Used: 2.556GB                            
 Data Space Total: 32.21GB                           
 Data Space Available: 29.66GB                       
 Metadata Space Used: 1.028MB                        
 Metadata Space Total: 1.074GB                       
 Metadata Space Available: 1.073GB                   
 Thin Pool Minimum Free Space: 3.221GB               
 Udev Sync Supported: true                           
 Deferred Removal Enabled: true                      
 Deferred Deletion Enabled: true                     
 Deferred Deleted Device Count: 0                    
 Library Version: 1.02.141 (2017-06-28)              
Logging Driver: json-file                            
Cgroup Driver: cgroupfs                              
Plugins:                                             
 Volume: local                                       
 Network: bridge host macvlan null overlay           
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog                            
Swarm: inactive                                      
Runtimes: runc                                       
Default Runtime: runc                                
Init Binary: docker-init                             
containerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a                                              
runc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4                                                    
init version: 949e6fa                                
Security Options:                                    
 seccomp                                             
  Profile: default                                   
Kernel Version: 4.12.3_1                             
Operating System: void                               
OSType: linux                                        
Architecture: x86_64                                 
CPUs: 4                                              
Total Memory: 15.63GiB                               
Name: PensieroProfondo                               
ID: 4CTB:7TP6:U7W5:N4ET:VVG5:A4LQ:5H2U:PPIL:DWG2:LPOI:R4ZY:YKZL                                           
Docker Root Dir: /var/lib/docker                     
Debug Mode (client): false                           
Debug Mode (server): false                           
Username: blabla                                     
Registry: https://index.docker.io/v1/                
Experimental: false                                  
Insecure Registries:                                 
 127.0.0.0/8                                         
Live Restore Enabled: false                          

Additional environment details (AWS, VirtualBox, physical, etc.):

The docker daemon runs on a physical host on a voidlinux distribution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0