Skip to content

Commit

Permalink
Update to latest image, add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JMHReif committed Aug 13, 2021
1 parent 39dd6b0 commit f430112
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
= Docker image for MariaDB

This image is a build of MariaDB's Docker image.

== Building and running the image

You can build the image on your local machine with the following commands:

[source,shell]
----
cd docker/
docker build . -t jmreif/mariadb
----

To run the container, execute the following command in the root directory:

[source,shell]
----
./runMariaDB.sh
----

You can run a `docker ps` at the command line to verify the container is still running.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM mariadb

#Author
#-------
MAINTAINER Jennifer Reif <jennifer@thehecklers.org,@JMHReif>
LABEL org.opencontainers.image.authors="Jennifer Reif,jennifer@thehecklers.org,@JMHReif"

#Define mountable directories.
VOLUME ["/etc/mysql","/var/lib/mysql"]
Expand Down

0 comments on commit f430112

Please sign in to comment.