Skip to content

Conversation

@github-actions
Copy link
Contributor

Summary

Added documentation for DOCKER_HOST requirement when using Docker SDKs with Docker Desktop for Linux.

Changes

  • Added "Using Docker SDKs with Docker Desktop" section to Linux install docs explaining why SDKs need DOCKER_HOST set and providing configuration commands
  • Added FAQ entry "How do I use Docker SDKs with Docker Desktop for Linux?" with troubleshooting steps
  • Added note in SDK reference docs alerting Docker Desktop for Linux users to set DOCKER_HOST before using SDKs

Fixes #23308


🤖 Generated with cagent

@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a2afff9
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/698db2937374790007b71e64
😎 Deploy Preview https://deploy-preview-24115--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dvdksn dvdksn closed this Feb 10, 2026
@dvdksn dvdksn reopened this Feb 10, 2026
@github-actions github-actions bot added area/engine Issue affects Docker engine/daemon area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/api Relates to Docker API docs labels Feb 10, 2026
This change was automatically generated by the documentation agent team
in response to issue #23308.

🤖 Generated with cagent
@dvdksn
Copy link
Contributor

dvdksn commented Feb 11, 2026

@aevesdocker can you please help review this?

@aevesdocker
Copy link
Contributor

@dvdksn Can I get some help please?
I've checked out this PR and made some edits (with gh pr checkout <id>), but can't seem to push the changes to this branch like I'm normally able to (with git push). Getting an access rights error message.
Is there a setting that needs to change with the agent PRs?

@dvdksn
Copy link
Contributor

dvdksn commented Feb 12, 2026

@aevesdocker what error are you getting exactly?
Are you able to push with:

git push origin HEAD:refs/heads/agent/issue-23308

@aevesdocker
Copy link
Contributor

If I do git push I get:

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

git push origin HEAD:refs/heads/agent/issue-23308

did something where I'm now able to create a PR in my fork of the docs repo

@aevesdocker
Copy link
Contributor

Screenshot 2026-02-12 at 10 04 46 I notice this PR is missing this setting

@dvdksn
Copy link
Contributor

dvdksn commented Feb 12, 2026

ahh right origin would be your fork :-) sorry, you can delete that branch if you want.

have you perhaps configured upstream as "no_push":

upstream  git@github.com:docker/docs.git (fetch)
upstream  no_push (push)

you can change the push url with: git remote set-url --push upstream git@github.com:docker/docs.git

or if you use http urls and not ssh: git remote set-url --push upstream https://github.com/docker/docs.git

then I believe git push might work

or alternatively this might work as a one-off if you don't want to change the remote url:

git push https://github.com/docker/docs.git HEAD:agent/issue-23308

@aevesdocker
Copy link
Contributor

changed the push url, thanks @dvdksn!

@aevesdocker aevesdocker merged commit f5240e4 into main Feb 12, 2026
14 of 15 checks passed
@dvdksn dvdksn deleted the agent/issue-23308 branch February 12, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent/generated area/api Relates to Docker API docs area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/engine Issue affects Docker engine/daemon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document DOCKER_HOST requirement for SDKs on Docker Desktop for Linux

2 participants