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 :3306/tcp
Host port :33060/tcp
Volumes
Host path
Container path
my-db-volume
/var/lib/mysql
+
Environment variables
Variable
Value
MYSQL_ROOT_PASSWORD
my-secret-pw
-
Variable
Value
MYSQL_DATABASE
mydb
+
Cancel
Run
Explanation
The image shows a user interface for configuring a new container, specifically for a MySQL database. It includes options for setting the container name, host ports, volumes and environment variables. The configuration details are: Container Name: my-mysql, Host Path: my-db-volume, Container Path: /var/lib/mysql, MYSQL_ROOT_PASSWORD: my-secret-pw, and MYSQL_DATABASE: mydb.