cbioportal/mysql
This repository hosts MySQL database images for use with cBioPortal that are preloaded with studies.
1.0K
This repository hosts prebuilt MySQL database images for use with cBioPortal. These images come preloaded with study datasets, eliminating the need to manually import studies after launching the cBioPortal container.
# Pull docker image
docker pull cbioportal/mysql:<tag>
# Start the database and wait until you see the message in the logs [Server] /usr/sbin/mysqld: ready for connections.
docker run --name cbioportal-mysql -p 3306:3306 cbioportal/mysql:<tag>
# Connect to database in another terminal (protocol flag is important)
mysql -h localhost -P 3306 -u root -psomepassword --protocol=tcp
# Later on, when you wanna run the database container again, you can simply do the following instead of the full docker run command
docker start cbioportal-mysql
To see which studies are included in a specific image, use docker inspect on the tag.
docker image inspect --format='{{json .Config.Labels}}' <tag>
docker pull cbioportal/mysql