Docker Exec command does not work properly -


i have script (run.sh) run initialize container through "docker run" command. script runs successfully. can bash instance (through "docker exec -i -t container-name bash") in container , run script (note default have su privileges when bash). however, when run script host through "docker exec -i -t container-name /run.sh" script runs not provide outcome provides through alternative approaches. know runs produces of expected behavior not of them. main question difference between executing script through commandline , running same script through docker exec.

appreciate on this.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -