You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to deploy a container which requires importing a local settings.yaml file to configure a web server with a handful of settings. I have read that VIC does not support using docker to map a local host file or folder to a container. I have the settings.yaml file, is there a way to put this in a location on a datastore and reference it when trying to create the container? I am using a container called psono (a password manager). It has a web server container component. I'm sure there are other containers that exist out there that may call local files or something similar for configuration at deployment.
In the command below /path/to/modified in bold would be my local path on a linux or windows docker host. Am I able to reference a vcenter/vsphere host datastore path here when using a VCH? Like "datastore1/path/volumes/settings.yaml:/root/.psono_server/settings.yaml"
This is the docker command to run the container:
docker run --name psono-server
--sysctl net.core.somaxconn=65535
-v /path/to/modified/settings.yaml:/root/.psono_server/settings.yaml
-d --restart=unless-stopped -p 10100:80 psono/psono-server:latest
Hello,
I am trying to deploy a container which requires importing a local settings.yaml file to configure a web server with a handful of settings. I have read that VIC does not support using docker to map a local host file or folder to a container. I have the settings.yaml file, is there a way to put this in a location on a datastore and reference it when trying to create the container? I am using a container called psono (a password manager). It has a web server container component. I'm sure there are other containers that exist out there that may call local files or something similar for configuration at deployment.
In the command below /path/to/modified in bold would be my local path on a linux or windows docker host. Am I able to reference a vcenter/vsphere host datastore path here when using a VCH? Like "datastore1/path/volumes/settings.yaml:/root/.psono_server/settings.yaml"
This is the docker command to run the container:
docker run --name psono-server
--sysctl net.core.somaxconn=65535
-v /path/to/modified/settings.yaml:/root/.psono_server/settings.yaml
-d --restart=unless-stopped -p 10100:80 psono/psono-server:latest
Any assistance is appreciated. Thanks in advance!
reference to vic limitations:
https://vmware.github.io/vic-product/assets/files/html/1.3/vic_app_dev/container_limitations.html
reference to the container I am trying to create:
https://doc.psono.com/mydoc_install_server.html
The text was updated successfully, but these errors were encountered: