2.9.0 | docker pull icr.io/ibmz/compose@sha256:46a8a0083c2f987bdfec6c84ecfcf39db5f42c0c9868d60fe2865e99937706d4 | Vulnerability Report | 08-16-2022 | 2.7.0 | docker pull icr.io/ibmz/compose@sha256:baba1e11709418ad8f3d4953b911c91e51b82e957387fc8909ee71f6f1f98aae | Vulnerability Report | 07-23-2022 | 2.6.0 | docker pull icr.io/ibmz/compose@sha256:46e7f5ba72690940021cc28b46620a3cc83bcf35022b5ed725f1eb6112ca87ca | Vulnerability Report | 06-06-2022 | 2.5.1 | docker pull icr.io/ibmz/compose@sha256:150c7214f9a1b34aa105542675f04b5d244dbc195b24efffa5865e94d8d958e2 | Vulnerability Report | 05-19-2022 | 2.4.1 | docker pull icr.io/ibmz/compose@sha256:64fe0f2ed5be9cf79918d59715b604dfbf4579bd3573afb9d84007c5f73534c8 | Vulnerability Report | 04-04-2022 | 2.3.3 | docker pull icr.io/ibmz/compose@sha256:f33d5f553c7f9d2be216e848858d5bd5860081fb586fa5b59e552f4361eb4069 | Vulnerability Report | 03-16-2022 | 2.2.3 | docker pull icr.io/ibmz/compose@sha256:41a9041bb2ef6597e928c2a016f256cc7a44af997b20d0e21caf7f5225658e84 | Vulnerability Report | 02-17-2022 | 2.0.1 | docker pull icr.io/ibmz/compose@sha256:126c60bbf4d48673cf7451fcb4d5c5ed17440ccae208117480ee340cec4d1645 | Vulnerability Report | 10-19-2021 |
Version | Pull String | Security (IBM Cloud) | Created |
---|---|---|---|
docker-compose.yml
file and other resources required for the containers specified in docker-compose.yml
.
version: '2'
services:
java:
image: icr.io/ibmz/openjdk:11.0.8
command: java --version
docker-compose.yml
to a docker volume.
docker-compose.yml
at the mount location. Ensure that you are mounting docker.sock
to the container as it is required to access the docker daemon.
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock:ro -v myvolume:/config/ icr.io/ibmz/compose:[tag] --env-file /config/docker-compose.yml up
docker-compose.yml
file, and other resources required for the containers specified in docker-compose.yml
.
FROM icr.io/ibmz/compose:[tag]
COPY docker-compose.yml /home/
ENV COMPOSE_FILE=/home/docker-compose.yml
CMD ["docker-compose", "up"]
docker build -t docker-compose-app .
docker.sock
to the container). This will cause the java --version
docker-compose to run the icr.io/ibmz/openjdk:11.0.8
image with the java --version
command.
docker run --name app -v /var/run/docker.sock:/var/run/docker.sock:ro docker-compose-app