Skip to content

When creating a container using the Portainer API, an error occurred: HTTP error: Unable to proxy the request via the Docker socket (err=context canceled) #12800

Answered by lizhuoxuan
lizhuoxuan asked this question in Help
Discussion options

You must be logged in to vote

Thanks for your help. I have found a solution. There is no problem when I call the container creation api using https://ip:9443. However, an error occurs using http://ip:9000.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lizhuoxuan
Comment options

@Nick-Portainer
Comment options

@lizhuoxuan
Comment options

Answer selected by lizhuoxuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants