Skip to content

How to mount the docker socket / npine on windows host to container #300

Answered by viceice
viceice asked this question in Q&A
Discussion options

You must be logged in to vote
locals {
  image_docuum = "ghcr.io/visualon/docuum:0.20.3@sha256:03673132b7f66d26e86c3fb74f179e0242cd28aa0a9acc60d5b589e330d20c8a" # renovate: depName=docuum
}


resource "docker_image" "docuum" {
  name = local.image_docuum
}

resource "docker_container" "docuum" {
  name    = "docuum"
  image   = docker_image.docuum.latest
  restart = "unless-stopped"

  command = ["--threshold", var.docuum_threshold]

  env = [
    "TZ=Europe/Berlin"
  ]

  volumes {
    container_path = "//./pipe/docker_engine/"
    host_path      = "//./pipe/docker_engine/"
  }

  volumes {
    container_path = "C:\\Users\\ContainerAdministrator\\AppData\\Local\\docuum"
    volume_name    = docker_volume.docuum_data.n…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@viceice
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant