1. Docker Trick: Running Containers Efficiently Using A Bash Script

    One of the basic problems with running a docker image is that its too easy to spew up multiple instances or containers of the same image. Consider running the following container for instance:

    docker run -it -e AWS_ACCESS_KEY_ID="test" -e AWS_SECRET_ACCESS_KEY="test" \
    --net=host "prahladyeri/testimage:latest" /bin/bash
    

    This …

    read more

    There are comments.

links

social