File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ By default, the image launches MariaDB with the same configuration that comes wi
1010The only environment variable required to start the container is the MariaDB root password.
1111
1212``` ShellSession
13- $ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.suse.com/suse/mariadb:%%mariadb_version%%
13+ $ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.suse.com/suse/mariadb:latest
1414```
1515
1616or:
1717
1818``` ShellSession
19- $ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.suse.com/suse/mariadb:%%mariadb_version%%
19+ $ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.suse.com/suse/mariadb:latest
2020```
2121
2222### Volumes
@@ -31,7 +31,7 @@ When using the MariaDB image, we recommend one of the following options:
3131To mount a host directory as a volume for your data run the following command:
3232
3333``` ShellSession
34- $ podman run -it --rm -v /my/own/datadir:/var/lib/mysql:Z -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.suse.com/suse/mariadb:%%mariadb_version%%
34+ $ podman run -it --rm -v /my/own/datadir:/var/lib/mysql:Z -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.suse.com/suse/mariadb:latest
3535```
3636
3737The ` -v /my/own/datadir:/var/lib/mysql:Z ` part of the command mounts the ` /my/own/datadir ` directory from the underlying host system as ` /var/lib/mysql ` inside the container, where MariaDB will by default write its data files.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ To deploy an application, copy the `.war` file file into
2323` $CATALINA_BASE/webapps ` (either during a container build or by bind-mounting
2424the directory), and launch the container using the following command:
2525``` ShellSession
26- $ podman run -d --rm -p 8080:8080 registry.suse.com/suse/tomcat:10
26+ $ podman run -d --rm -p 8080:8080 registry.suse.com/suse/tomcat:latest
2727```
2828
2929The deployed webapp is then accessible via ` http://localhost:8080/$webapp_name ` .
@@ -40,7 +40,7 @@ follows:
4040``` ShellSession
4141$ chmod 0777 /path/to/my/app
4242$ podman run --rm -d -v /path/to/my/app:/usr/share/tomcat/webapps:z \
43- -p 8080:8080 registry.suse.com/suse/tomcat:10
43+ -p 8080:8080 registry.suse.com/suse/tomcat:latest
4444```
4545
4646
@@ -56,7 +56,7 @@ options to the container runtime using the `-e` flag:
5656``` ShellSession
5757$ podman run -it --rm \
5858 -e JAVA_OPTS="-Xmx1024m" -p 8080:8080 \
59- registry.suse.com/suse/tomcat:10
59+ registry.suse.com/suse/tomcat:latest
6060```
6161
6262The image ships with ` CATALINA_HOME ` set to ` /usr/share/tomcat `
You can’t perform that action at this time.
0 commit comments