cbioportal/mysql

Sponsored OSS

This repository hosts MySQL database images for use with cBioPortal that are preloaded with studies.

Image

1.0K

cBioPortal MySQL Database Images

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.

Usage

# 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

Image Metadata

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 Command

docker pull cbioportal/mysql