Skip to content

Commit 0c530df

Browse files
committed
mariadb: network naming from docker-library#1860
1 parent 2b7de0a commit 0c530df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mariadb/content.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ or:
2020

2121
```console
2222
$ docker network create some-network # Create the network
23-
$ docker run --net some-network --name some-%%REPO%% -e MYSQL_ROOT_PASSWORD=my-secret-pw -d %%IMAGE%%:tag
23+
$ docker run --net some-network --name some-%%REPO%% -e MARIADB_ROOT_PASSWORD=my-secret-pw -d %%IMAGE%%:tag
2424
```
25-
2625
... where `some-network` is newly created network (other than `bridge` as the default network), `some-%%REPO%%` is the name you want to assign to your container, `my-secret-pw` is the password to be set for the MariaDB root user and `tag` is the tag specifying the MariaDB version you want. See the list above for relevant tags.
2726

2827
## Connect to MariaDB from the MySQL/MariaDB command line client

0 commit comments

Comments
 (0)