Get image config from github
git clone http://github.com/tango-controls/docker-mysql
cd docker-mysql/
cat README.md
Build the image using the config file
docker build -t tango-db .
Run the docker image with a name assigned
docker run -e MYSQL_ROOT_PASSWORD=root --rm -i -t --name tango-db tango-db
The name will allow to open bash sessions
docker exec -it tango-db bash
List other existing images
docker images
Other useful images are:
https://github.com/cpascual/taurus-test
https://hub.docker.com/r/cmft/debian8-packaging/
They include their own specific instructions for enabling X11 and xhost forwarding
No comments:
Post a Comment