Skip to content

Conversation

@0405ysj
Copy link
Collaborator

@0405ysj 0405ysj commented Oct 20, 2025

Context: b/383428636

This hint can be used by google/android-cuttlefish#1721.

@0405ysj 0405ysj marked this pull request as ready for review October 21, 2025 01:41
@0405ysj 0405ysj requested review from ikicha and k311093 and removed request for Databean, adelva1984, jmacnak and rmuthiah October 21, 2025 01:41
func (m *DockerInstanceManager) createDockerContainer(ctx context.Context, user accounts.User) (string, error) {
config := &container.Config{
AttachStdin: true,
Env: []string{"HANDLED_BY_CLOUD_ORCHESTRATOR=true"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you share the design doc for this? why is it needed? who is going to consume it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see you added b/383428636 in the PR's comments. Please add the bug to the commit message itself next time.

Copy link
Member

@ser-io ser-io Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What this env variable has to do with enabling vhost-user-vsock?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I mentioned from the PR description, google/android-cuttlefish#1721 consumes it.

Also resolving this conversation, since I think google/android-cuttlefish#1721 should be the better place to talk.

Copy link
Member

@ser-io ser-io Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, it's used in google/android-cuttlefish@d248bf8

Marking this as unresolved for now to avoid merging in this PR.

I'll follow up here, once discussion in google/android-cuttlefish#1721 is done.

@0405ysj 0405ysj requested a review from ser-io October 22, 2025 01:51
func (m *DockerInstanceManager) createDockerContainer(ctx context.Context, user accounts.User) (string, error) {
config := &container.Config{
AttachStdin: true,
Env: []string{"HANDLED_BY_CLOUD_ORCHESTRATOR=true"},
Copy link
Member

@ser-io ser-io Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, it's used in google/android-cuttlefish@d248bf8

Marking this as unresolved for now to avoid merging in this PR.

I'll follow up here, once discussion in google/android-cuttlefish#1721 is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants