docker build . -t go-gin docker run -i -t -p 8080:8080 go-gin Or if you can run bash then just, sh run.sh