Loo Chien Ming

Loo Chien Ming

If the docker compose has an image pulling from cloud, it does not work correctly from the ploi panel API. The API will just say container is running. But docker ps will show nothing

If SSH into the server and run docker compose up, it will pull the image correctly and build. docker ps will show that container exist and application is running.

Dennis

Dennis

·
·

Can you give me a replicable case?

no votes yet
Loo Chien Ming

Loo Chien Ming

Item author
·
·
version: "3"
networks:
  ideabox:
    driver: bridge
volumes:
  keycloak-volume:
    driver: local
services:
  123-frontend:
    container_name: "123"
    image: gcr.io/google-containers/busybox:latest
    networks:
      - ideabox
    ports:
      - "9081:3000"
    restart: always

this is a public image from GCP (about 2MB)

This image manage to download but the container was not running. My project uses a bigger image (500-1000MB) and is a private image. I have authenticated docker so credientials are fine.

no votes yet

Pull image from cloud with docker compose

1 total vote
Loo Chien Ming
  • Loo Chien Ming moved item to project Server Level Requests

    1 year ago
  • Loo Chien Ming created the item

    1 year ago