Skip to content

Develop #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#
# MariaDB Dockerfile
#
# https://github.com/dockerfile/mariadb
#
# https://github.com/luciano-jr/mariadb

# Pull base image.
FROM dockerfile/ubuntu
FROM lucianojr/ubuntu

# Install MariaDB.
RUN \
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Dockerfile Project
Copyright (c) Luciano Jr Project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## MariaDB Dockerfile


This repository contains **Dockerfile** of [MariaDB](https://mariadb.org/) for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/dockerfile/mariadb/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/).
This repository contains [MariaDB](https://mariadb.org/) for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/luciano-jr/mariadb/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/).


### Base Docker Image
Expand All @@ -13,17 +13,17 @@ This repository contains **Dockerfile** of [MariaDB](https://mariadb.org/) for [

1. Install [Docker](https://www.docker.com/).

2. Download [automated build](https://registry.hub.docker.com/u/dockerfile/mariadb/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull dockerfile/mariadb`
2. Download [automated build](https://registry.hub.docker.com/u/lucianojr/mariadb/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull luciano-jr/mariadb`

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


### Usage

#### Run `mysqld-safe`

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

#### Run `mysql`

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