Sign inSign up

guillermo/mysql

By guillermo

•Updated about 11 years ago

Ubuntu + default Mysql-Server Package

Image
0

1.5K

guillermo/mysql repository overview

  • This is ubuntu + mysql-server.
  • It start mysqld in foreground with a wrapper to convert SIGINT in SIGQUIT so mysql stops gracefully.
  • It exports the mysql port
  • You can see the docker file and the rest of files used to create this in guillermo/mysql-docker github repository⁠.
⁠Dockerfile
# Mysql dockerfile
# 
# This install the default mysql-server package
#
# It is modify to run mysql in the foreground and exit on INT signal
#
# The deafult password is "password".
#
FROM ubuntu
MAINTAINER Guillermo Álvarez <[email protected]>
RUN apt-get install mysql-server -y
ADD my.cnf /etc/mysql/my.cnf
ADD change_password /tmp/change_password
ADD mysqld-wrapper /usr/sbin/mysqld-wrapper
RUN /tmp/change_password
RUN rm /tmp/change_password
CMD /usr/sbin/mysqld-wrapper
EXPOSE 3306

Tag summary

Content type

Image

Digest

sha256:b7c3afd85…

Size

139.4 MB

Last updated

about 11 years ago

docker pull guillermo/mysql