Comments (2)
Hi,
The docker-compose package in Ph5 installs /bin/docker-compose
, actually with a version output Docker Compose version 2.14.0
.
This isn't the same command as docker compose
, indeed. Accordingly to https://github.com/docker/compose, For a smooth transition from legacy docker-compose 1.xx, please consider installing compose-switch to translate docker-compose ... commands into Compose V2's docker compose .... . Also check V2's --compatibility flag.
Please consider that there were Photon OS team voices, for example see #647, which weren't enthusiasts about docker compose at that time.
In addition, the docs in mind, an upgrade from Photon OS 3.0 to 5.0 is not officially supported (yet?).
For Photon OS 4.0, the upgrade workflow is described in https://vmware.github.io/photon/docs-v5/installation-guide/upgrading-to-photon-os-4/. Step 2 says, Stop any services (for example, docker) that are currently running in the VM. and After the upgrade, before you deploy into production, test all previous functionality to ensure that everything works as expected..
Hence, with respect to "what's the best way to do this?", I would consider to assess your containers that are affected by the upgrade, customize a solution and verify that the controls function properly.
Beside that, imho it is good to have reached out to the Photon OS team. Usually if there are enough "voices", they do consider enhancements, but it also can take a few weeks before you get a qualified answer.
Hope this helps.
-Daniel
from photon.
Thanks Daniel! Very helpful indeed.
Would it be correct to say that there's no "official" way to install docker compose
on Photon at this time? I'm fine to install it as a one-off binary, but always try to avoid "veering off the beaten path" when there's a vendor-endorsed option.
Realizing "best" is highly subjective, to me it means: well-supported by the software vendor, such that I can automatically receive upstream updates as they release, and those updates have already been tested by the vendor/community to be compatible. Example: Ubuntu (and other distros) maintain their own repos of common packages, albeit with some lag-behind on releases to ensure compatibility.
If the Photon team is against doing something like that with docker compose
, I can't fault them for that. I had assumed that they were [incorrectly, it seems], so I was looking for this "supported" solution.
In light of this, and given that I'm just a homelabber/VMWare enthusiast in a pseudo-production environment, it sounds like my best option is to install docker compose
directly from Docker's own repo. Would you agree with that sentiment?
from photon.
Related Issues (20)
- nfs 4.1 mount stops working after linux-esx-6.1.53-8.ph5 HOT 4
- Photon OS 5.0 and sssd HOT 1
- Building Photon OS 5.0 Iso from source on Ubuntu 22.04 HOT 18
- Is there a way to have a basic build like the full photon ISO? HOT 6
- Is there a way to have a basic build like the full photon ISO? HOT 1
- How to enable TLS SHA-1 Server Signatures on Photon OS 5 HOT 1
- Cannot get cloud-init phone_home to use self-signed certificate added to registry HOT 31
- Documentation is incorrect, the operating mode of the DVD virtual hardware is important during installation HOT 7
- Fixing issues reported by tdnf check HOT 2
- Problem building Python-3.10.7 on Photon OS missing linux/limits.h HOT 2
- Add support for flatpak application installs HOT 1
- Ph 5.0 make build issues in packages sssd-2.8.2 and kubernetes-dashboard-2.7.0 HOT 5
- Add Nvidia Metropolis Microservices Essentials package to Photon OS HOT 1
- tdnf makecache hangs on PhotonOS3 HOT 8
- mlocate package not working as non root user : mlocate: can not open `/var/lib/mlocate/mlocate.db': Permission denied HOT 1
- Photon OS support for WSL2 HOT 2
- Cross-compiling 5.0 branch HOT 4
- check_spec_files fails HOT 2
- Photon 3.0 cgroup exhaustion. VM shuts down with CPU disabled HOT 16
- Photon OS 5 and PostgreSQL 15 installation is not complete HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photon.