Este comando sirve para levantar el contenedor de docker
Created
November 11, 2025 19:54
-
-
Save EmmaG2/de3ffd126d3662e203af3103e71b0b33 to your computer and use it in GitHub Desktop.
mysql.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -d \ | |
| --name mysql-container \ | |
| -e MYSQL_ROOT_PASSWORD=YOUR_PASSOWORD \ | |
| -e MYSQL_DATABASE=db_name \ | |
| -p 3306:3306 \ | |
| mysql:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment