Skip to content
/ mysql Public
forked from dockerfile/mysql

MySQL Dockerfile for trusted automated Docker builds.

License

Notifications You must be signed in to change notification settings

lzdhlsc/mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

MySQL Dockerfile

This repository contains Dockerfile of MySQL for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/mysql

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/mysql" github.com/dockerfile/mysql)

Usage

Run mysqld-safe

docker run -d --name mysql -p 3306:3306 dockerfile/mysql

Run mysql

docker run -it --rm --link mysql:mysql dockerfile/mysql bash -c 'mysql -h $MYSQL_PORT_3306_TCP_ADDR'

About

MySQL Dockerfile for trusted automated Docker builds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%