Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockcross/manylinux-x64 can not run, error return code 139 #249

Closed
guyskk opened this issue Aug 4, 2018 · 3 comments
Closed

dockcross/manylinux-x64 can not run, error return code 139 #249

guyskk opened this issue Aug 4, 2018 · 3 comments

Comments

@guyskk
Copy link

guyskk commented Aug 4, 2018

Reproduce:

$ docker run -ti dockcross/manylinux-x64:latest ls -a
... no outputs
$ echo $?
139

I also try docker run -ti quay.io/pypa/manylinux1_x86_64:latest ls -a and docker run -ti dockcross/manylinux-x86:latest ls -a, both no problem, so I think it's a bug of dockcross/manylinux-x64.

Docker version:

$ docker version
Client:
 Version:      18.05.0-ce
 API version:  1.37
 Go version:   go1.10.2
 Git commit:   f150324782
 Built:        Wed May 16 22:27:45 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.05.0-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.10.2
  Git commit:   f150324782
  Built:        Wed May 16 22:28:17 2018
  OS/Arch:      linux/amd64
  Experimental: false
@thewtex
Copy link
Collaborator

thewtex commented Aug 4, 2018

Running your commands, I get:

$ docker run -ti dockcross/manylinux-x64:latest ls -a
. ..
$ echo $?
0

However, this is not the expected usage. Please see the README for how to invoke the image, i.e. through the generated bash script. Does a hello-world build work for you?

@guyskk
Copy link
Author

guyskk commented Aug 5, 2018

It was caused by a linux kernel change, only "too new" system affected.
The commands succeed after I add vsyscall=emulate kernel command line parameter and reboot system.

CentOS/sig-cloud-instance-images#62
CentOS/sig-cloud-instance-images#103
moby/moby#28705 (comment)

@guyskk guyskk closed this as completed Aug 5, 2018
@thewtex
Copy link
Collaborator

thewtex commented Aug 5, 2018

@guyskk thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants