Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 387 Bytes
import asyncdispatch, ../asyncdocker, json, os
hostname = ""
port = Port(2376)
ca = joinPath(getHomeDir(), ".docker", "ca.pem")
key = joinPath(getHomeDir(), ".docker", "key.pem")
cert = joinPath(getHomeDir(), ".docker", "cert.pem")
proc main() {.async.} =
var docker = newAsyncDocker(hostname, port, ca, key, cert)
echo await
waitFor main()
You can’t perform that action at this time.