Public | Automated Build

Last pushed: a year ago
Short Description
MariaDB Atomic App
Full Description

MariaDB Fedora Atomic App

Description

A single container application built on the fedora/mariadb image.

Deployment

Deploying with Default Parameters

Using Atomic CLI
sudo atomic run projectatomic/mariadb-fedora-atomicapp
Using Atomic App
sudo atomicapp run projectatomic/mariadb-fedora-atomicapp

Deploying with User-Provided Parameters

Using Atomic CLI
sudo atomic run projectatomic/mariadb-fedora-atomicapp --mode fetch --destination mariadb-fedora-atomicapp
cd mariadb-fedora-atomicapp
cp answers.conf.sample answers.conf # Modify then copy answers.conf.sample
sudo atomic run projectatomic/mariadb-fedora-atomicapp .
Using Atomic App
atomicapp fetch projectatomic/mariadb-fedora-atomicapp --destination mariadb-fedora-atomicapp
cd mariadb-fedora-atomicapp
cp answers.conf.sample answers.conf # Modify then copy answers.conf.sample
atomicapp run .

Interaction

The default port is :3306

Using the Docker Provider

docker run -it fedora/mariadb mysql -h localhost -u <username> -p <database name>

Using the Kubernetes Provider

By default kubernetes will assign an available external IP.

kubectl get service mariadb
NAME      LABELS    SELECTOR       IP               PORT(S)
mariadb   name=db   name=mariadb   10.254.167.159   3306/TCP

docker run -it fedora/mariadb mysql -h <IP address> -u <username> -p <database name>
Enter password: <password>
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.0.17-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [dbname]> show databases;
+--------------------+
| Database           |
+--------------------+
| dbname             |
| information_schema |
| mysql              |
| performance_schema |
| test               |
+--------------------+
5 rows in set (0.00 sec)
Docker Pull Command
Owner
projectatomic
Source Repository

Comments (0)