Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/app/instances/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func (m *DockerInstanceManager) createDockerVolumeIfNeeded(ctx context.Context,
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.

Image: m.Config.Docker.DockerImageName,
Tty: true,
Labels: dockerLabelsDict(user),
Expand Down
Loading