Hi there,
I was testing out the remote docker host access introduced in version 0.1.3 (https://github.com/hashicorp/waypoint/pull/631) and tried to connect to a remote docker host using ssh just to see if it worked. Just mentioning here in case anyone else is trying this.
Deploy error :
» Deploying…
⠹ Checking Docker image cache for Image waypoint.local/example-python:latest
! unable to pull image from Docker registry: unable to list images in local Docker
cache: error during connect: Get
“http://ubuntu%!.(MISSING)64.22/v1.24/images/json?filter=waypoint.local%!F(MISSING)example-python%!A(MISSING)latest”:
dial tcp: lookup ubuntu@192.168.64.22: no such host
waypoint.hcl :
project = "example-python"
app "example-python" {
labels = {
"service" = "example-python",
"env" = "dev"
}
build {
use "docker" {}
}
deploy {
use "docker" {
client_config {
host = "ssh://ubuntu@192.168.64.22"
}
}
}
}
Verified that the ssh config works : DOCKER_HOST=ssh://ubuntu@192.168.64.22 docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES