mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-05 13:11:42 +00:00
keystone,mariadb: Use stable tags
Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ docker build -t clearlinux/keystone .
|
||||
Or just pull it from Dockerhub
|
||||
---------------------------
|
||||
```
|
||||
docker pull clearlinux/keystone
|
||||
docker pull clearlinux/keystone:stable
|
||||
```
|
||||
|
||||
Create Keystone SSL certificates
|
||||
@@ -36,7 +36,7 @@ docker run -d -it --name keystone -p 5000:5000 -p 35357:35357 \
|
||||
-v $MYSQL_DATA_DIR:/var/lib/mysql \
|
||||
-v `pwd`/keystone_cert.pem:/etc/nginx/ssl/keystone_cert.pem \
|
||||
-v `pwd`/keystone_key.pem:/etc/nginx/ssl/keystone_key.pem \
|
||||
clearlinux/keystone
|
||||
clearlinux/keystone:stable
|
||||
```
|
||||
|
||||
Login into Keystone container
|
||||
|
||||
+2
-2
@@ -14,14 +14,14 @@ docker build -t clearlinux/mariadb .
|
||||
Or just pull it from Dockerhub
|
||||
---------------------------
|
||||
```
|
||||
docker pull clearlinux/mariadb
|
||||
docker pull clearlinux/mariadb:stable
|
||||
```
|
||||
|
||||
Start MariaDB Container
|
||||
-----------------------
|
||||
```
|
||||
YOUR_HOST=`hostname -f`
|
||||
docker run --name mariadb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -d clearlinux/mariadb
|
||||
docker run --name mariadb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -d clearlinux/mariadb:stable
|
||||
# Test it
|
||||
mysql -uroot -h $YOUR_HOST -psecret -e "show databases;"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user