Reputation: 3355
I've built the image successfully, but when I run docker run <xxxx:latest>
it returns nothing.
I also have a bash script that contains AWS crendential (because a Python script within the container requires credential to log into AWS to perform something), when I tried to run that script it also returns nothing, has anyone encountered this issue? Many thanks.
Upvotes: 2
Views: 4184
Reputation: 51
Did you do: docker run -it xxxx
?
-i flag, connects your terminal to STDIN
-t flag, provides a better visualization of what you see on the screen
-it is a syntactic coating for -i -t flags used separately
Also, what does it show on doing docker ps --all
? Does it show that the container is running?
Upvotes: 4