<commit_before>import asyncdispatch, ../asyncdocker, json, os

const 
  hostname = "192.168.0.114"
  port = Port(2376)
  certs = "/home/king/Doing/rock/cloudagent/profile/robot/certs"
  ca = joinPath(certs, "ca.pem")
  key = joinPath(certs, "key.pem")
  cert = joinPath(certs, "cert.pem")

proc main() {.async.} =
  var docker = newAsyncDocker(hostname, port, ca, key, cert)
  echo await docker.ps()

waitFor main()
<commit_msg>Fixed assert exception for nim 0.14.3 newContext problem<commit_after>import asyncdispatch, ../asyncdocker, json, os

const 
  hostname = "127.0.0.1"
  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 docker.ps()

waitFor main()

{'fraction_non_alphanumeric': 0.166289592760181, 'fraction_numerical': 0.03167420814479638, 'mean_word_length': 4.175438596491228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2085623', 'n_tokens_mistral': 355, 'n_tokens_neox': 338, 'n_words': 80}