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

Docker run issues with java exec #602

Open
chrisedebo opened this issue Sep 23, 2019 · 2 comments
Open

Docker run issues with java exec #602

chrisedebo opened this issue Sep 23, 2019 · 2 comments

Comments

@chrisedebo
Copy link

Hi there,

I am interested in looking at collins to help with our asset and configuration management requirements. I was reading your quick start documentation and thought docker would be a simple route to getting going.

I ran the command as listed in your documentation only to be presented with the following error message:

~$ docker run -p 9000:9000 tumblr/collins
Unable to find image 'tumblr/collins:latest' locally
latest: Pulling from tumblr/collins
a4d8138d0f6b: Pull complete
dbdc36973392: Pull complete
f59d6d019dd5: Pull complete
5fee445fce94: Pull complete
d270185e6f4d: Pull complete
a8d5eae35fa0: Pull complete
63dd02427be9: Pull complete
c93b261a5f70: Pull complete
8d2a5826c2b6: Pull complete
2a73bf5cb755: Pull complete
3c7df661a6e6: Pull complete
Digest: sha256:7b8c98c23b101303b6bd0692747ce1fc728aec2a36d8f795206639c13b2457a5
Status: Downloaded newer image for tumblr/collins:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/usr/bin/java\": stat /usr/bin/java: no such file or directory": unknown.

I have just installed docker on a vm running ubuntu 18.04:

Client: Docker Engine - Community
 Version:           19.03.2
 API version:       1.40
 Go version:        go1.12.8
 Git commit:        6a30dfc
 Built:             Thu Aug 29 05:29:11 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.2
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.8
  Git commit:       6a30dfc
  Built:            Thu Aug 29 05:27:45 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Any ideas for troubleshooting would be greatly appreciated :)

Cheers

Chris

@chrisedebo
Copy link
Author

After some more research I have managed to get collins running at v2.2.0 with the following command:

docker run -p 9000:9000 tumblr/collins:v2.2.0

I guess the issue must be with the "latest" docker image.

@komapa
Copy link
Contributor

komapa commented Sep 24, 2019

Fix is at #601

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