Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docker: no latest tag of the docker image #102

Open
jdhoffa opened this issue Dec 6, 2024 · 2 comments
Open

docker: no latest tag of the docker image #102

jdhoffa opened this issue Dec 6, 2024 · 2 comments

Comments

@jdhoffa
Copy link
Member

jdhoffa commented Dec 6, 2024

When I try to run docker compose up --build I get the following error:

docker: Error response from daemon: manifest for rmi-pacta/workflow.pacta not found.

Looking at the docker-compose.yml I have:

---
services:
  workflow.pacta:
    # build: .
    image: ghcr.io/rmi-pacta/workflow.pacta
    # stdin_open: true
    # tty: true
    # entrypoint: ["R", "--args"]
    command: '/test_params.json'
    # command: '{\"portfolio\": {\"files\": [\"default_portfolio.csv\"], \"holdingsDate\": \"2023-12-31\"}, \"inherit\": \"2023Q4\"}'
    environment:
      LOG_LEVEL: TRACE
      PACTA_DATA_DIR: "/mnt/pacta-data"
      ANALYSIS_OUTPUT_DIR: "/mnt/analysis_output_dir"
      PORTFOLIO_DIR: "/mnt/portfolios"
    volumes:
      - type: bind
        source: ${data_dir:-./pacta-data}
        target: /mnt/pacta-data
        read_only: true
      - type: bind
        source: ${analysis_output_dir:-./analysis_output_dir}
        target: /mnt/analysis_output_dir
        read_only: false
      - type: bind
        source: ${input_dir:-./portfolios}
        target: /mnt/portfolios
        read_only: true
      - type: bind
        source: ./portfolios/default_params.json
        target: /test_params.json
        read_only: true

When I run:

docker pull ghcr.io/rmi-pacta/workflow.pacta

I get the same error, however running:

docker pull ghcr.io/rmi-pacta/workflow.pacta:nightly

Works as expected. This seems to just be an issue with the image tagging (i was able to get a run working locally by adding the nightly tag to the image in the docker-compose.yml

Maybe adding a latest tag on ghcr.io would result in a default run being possible?

@jdhoffa
Copy link
Member Author

jdhoffa commented Dec 6, 2024

Relates to #101

@jdhoffa
Copy link
Member Author

jdhoffa commented Dec 6, 2024

Alternatively, adding the nightly tag would also solve this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant