You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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:
go run ./cmd/kontext/main.go --directory=/Users/xiangxiuli/xiujuan_workspace/bcf --tag=bluebosh/kontest:test
docker pull bluebosh/kontest:test
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
folderAnd I try to enter the image:
docker run -ti bluebosh/kontest:test
: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!The text was updated successfully, but these errors were encountered: