Run a new container
mysql:latest
Optional settings
Container name
my-mysql
A random name is generated if you do not provide one.
Ports
Enter "0" to assign randomly generated host ports.
Host port
Host port
Volumes
Host path
:3306/tcp
:33060/tcp
Container path
+
Environment variables
Variable
Value
MYSQL_ROOT_PASSWORD
my-secret-pw
Variable
MYSQL_DATABASE
Value
mydb
+
Cancel
Run
Explanation
This image displays a form to run a new MySQL container. The form includes fields to specify the container name, port settings, volume mounts, and environment variables such as the root password and database name.