Sign inSign up

cbioportal/mysql

Sponsored OSS

By Memorial Sloan Kettering Cancer Center

•Updated about 1 year ago

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

Image
1

10K+

cbioportal/mysql repository overview

⁠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>

Tag summary

Content type

Image

Digest

sha256:4160b034e…

Size

274.4 MB

Last updated

about 1 year ago

docker pull cbioportal/mysql:8.0-cbioportal-v6.2.0

This week's pulls

Pulls:

2,443

Last week