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 returns nothing exclude Done! message #26

Open
xiujuan95 opened this issue Jan 7, 2020 · 0 comments
Open

docker run returns nothing exclude Done! message #26

xiujuan95 opened this issue Jan 7, 2020 · 0 comments

Comments

@xiujuan95
Copy link

I have a question about how to test if the build image is successful or not. I used the below steps to build image and test it:

  • build image
    go run ./cmd/kontext/main.go --directory=/Users/xiangxiuli/xiujuan_workspace/bcf --tag=bluebosh/kontest:test
  • pull image
    docker pull bluebosh/kontest:test
  • try to get the dockerfile according to the image
    docker run --privileged=true -ti -v /Users/xiangxiuli/go/src/github.com/kontext:/workspace bluebosh/kontest:test

But it returns me I can't open the workspace folder

2020/01/07 07:55:31 open /workspace/.git/logs/refs/heads/develop: permission denied
2020/01/07 07:55:31 Done!

And I try to enter the image: docker run -ti bluebosh/kontest:test:

xiangxiulis-mbp:kontext xiangxiuli$ docker run -ti bluebosh/kontest:test ls -la
2020/01/07 10:15:54 Done!

It's a so simple response.
I don't know if my method used to test the image is wrong or something. Could you provide some ideas? My target is to see if the file /Users/xiangxiuli/xiujuan_workspace/bcf I want to upload has been uploaded successfully! Thanks a lot!

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

1 participant