containers icon indicating copy to clipboard operation
containers copied to clipboard

Same Docker image, different PHP versions?

Open nbennett25 opened this issue 1 year ago • 3 comments

Name and Version

bitnami/symfony

What architecture are you using?

arm64

What steps will reproduce the bug?

  1. Different machines, using the same docker container image, getting different versions of php

What is the expected behavior?

  1. Different machines, using the same docker container image, getting the same version of php

What do you see instead?

PHP 8.1 on one machine, PHP 8. 2 on the other

Additional information

I understand this is an EOL'd container image, but hoping some one can point me in the right direction: I'm working with a colleague, we're using the same docker compose file, the same bitnami/symfony container image - when they start the container, php -v shows 8.1, when I start mine, php -v shows 8.2 - we're both using Apple Silicon and Docker Desktop 4.27.1

nbennett25 avatar Feb 19 '24 14:02 nbennett25

Yes, as you rightly say Symfony was recently deprecated from our catalog so the provided support is limited. Having said that, could you check if the image is cached in the docker engine or something like that?

carrodher avatar Feb 19 '24 14:02 carrodher

We sorted it out @carrodher so no immediate need for a solution, but we do have different images:

We both pulled from bitnami/symfony:latest, but my coworker has bitnami/symfony 869673d3ed09 and I have bitnami/symfony 2e243c0eda32 - is there a way to pull a specific image so we're in sync? or maybe I just need to update mine?

Thx!

nbennett25 avatar Feb 26 '24 15:02 nbennett25

Yes, you should be able to pull the image by digest, see https://docs.docker.com/reference/cli/docker/image/pull/#pull-an-image-by-digest-immutable-identifier

carrodher avatar Feb 26 '24 19:02 carrodher

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Mar 13 '24 01:03 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Mar 19 '24 01:03 github-actions[bot]