solo | docker pull icr.io/ibmz/quay@sha256:a94333a653e6f21ac85da4e7a7e057360c5f7b67111e707e03ad8983a0af9b57 | Vulnerability Report | 12-08-2020 | 3.5.2 | docker pull icr.io/ibmz/quay@sha256:a892322b3df463841864c869690805541a65e5b5edb246997797a7045252d580 | Vulnerability Report | 10-26-2021 |
Version | Pull String | Security (IBM Cloud) | Created |
---|---|---|---|
Start a Redis container from the icr.io/ibmz/redis:6.0 image.
docker run --name quay-redis -d -p 6379:6379 icr.io/ibmz/redis:6.0
Start a PostgreSQL container from the quay.io/ibm/postgres image.
docker run --name quay-postgres -e POSTGRES_PASSWORD= \
-d -p 5432:5432 icr.io/ibmz/postgres:13
Wait about 10 seconds for PostgreSQL to be ready, and then make sure that PostgreSQL has the pg_trgm extension.
docker exec --user postgres quay-postgres psql -d postgres -c "create extension pg_trgm"
Create Docker volumes for the Quay config file and Quay's persistant storage.
docker volume create quay-config
docker volume create quay-storage
Start a container from the icr.io/ibmz/quay:[tag] image in "config mode".
docker run --name configure-quay -d \
-p 8443:8443 \
-p 8080:8080 \
-v quay-storage:/datastorage \
icr.io/ibmz/quay:solo config
From a web browser, sign into the Quay configureation web UI.
http://host/ip where quay is running:8080
Follow Chapter 4 of Deploy Red Hat Quay - Basic in the Red Hat Quay Documentation to generate your Quay config file.
Extract config.yaml from quay-config.tar.gz, and place config.yaml in the quay-config volume that you created earlier.
tar -xzvf quay-config.tar.gz config.yaml
Remove the configure-quay container.
docker rm -f configure-quay
Start a Quay container from the quay.io/ibm/quay image. (Not in config mode this time)
`docker run --name quay -d\
-p 8443:8443 \
-p 8080:8080 \
-v quay-config:/conf/stack \
-v quay-storage:/datastorage \
icr.io/ibmz/quay:solo
Wait about a minute for Quay to be ready, and then view the Quay web UI at the host/ip that you configured earlier to verify that Quay is working.