Replies: 2 comments 1 reply
-
Using
|
Beta Was this translation helpful? Give feedback.
1 reply
-
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.name
}
}
resource "docker_volume" "docuum_data" {
name = "docuum-data"
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
viceice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to mount the windows docker npipe / socket to a container
my file:
getting this error:
Error: '\\.\pipe\docker_engine' must be an absolute path
If i try mounts with type
npipe
, i getError: 'npipe' doesn't match the pattern '^(bind|volume|tmpfs)$'
Beta Was this translation helpful? Give feedback.
All reactions