Skip to content

Instantly share code, notes, and snippets.

@youngsoul
Created June 1, 2017 04:02
Show Gist options
  • Save youngsoul/2a25bf5084a120d1c658f345d54665b2 to your computer and use it in GitHub Desktop.
Save youngsoul/2a25bf5084a120d1c658f345d54665b2 to your computer and use it in GitHub Desktop.
simple script to pull raspberry pi mysql docker image
# http://www.dwmkerr.com/learn-docker-by-building-a-microservice/
docker pull hypriot/rpi-mysql:latest
docker images
docker run --name db -d -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 hypriot/rpi-mysql
docker ps
docker exec -it db /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment