Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akosyakov wdyt of changing this PR title and description? My understanding is you are trying to get
gp rebuild
working, need the docker CLI, but docker support in rootless images (as a feature) is not required/can be decoupled from this effort.Suggestions:
unarchived
, do so in.supervisor/docker/bin
, and then havegp rebuild
expect it to be there. This way:gp rebuild
on the docker CLI does not break or change the end-user experience for docker CLIdocker-up
like you have now, so customers getdocker support in rootless images
. At this time, we could also consider deleting.supervisor/docker/bin
. This would be a lower priority given our current priorities.Regarding deploy for the
docker-up
change, we prboably have to ship a new workspace cluster (I do not seedocker-up
as a version that can be overridden inide-config
in the application clusters).registry-facade
has a specificdocker-up
in its configmap forstaticLayer
:You shared an internal concern about docker, docker-compose, and runc versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have another idea right now to let supervisor to do docker build/run under sudo for gp rebuild, then it can activate docker daemon and use shipped cli even if a user don't have sudo access.
I probably can go with the variant one as well, but it adds complexity since we need to ship docker twice, and it does not strike me that shipping random docker cli has valid usage. As you mentioned version of docker-compose already pinned and overrides whatever user has in the workspace image.
I was thinking to suggest removing docker-up from static layer and instead allow ide-service to deliver it. Then we could agree on something simple like merging this PR and if it does not work revert it with an IDE deployment. With that way we would learn faster and does not need to deliver docker twice.