-
Notifications
You must be signed in to change notification settings - Fork 45
Link host directory to Docker directory
Matt S edited this page Sep 12, 2017
·
9 revisions
Link the uploads directory on the user's computer to the corresponding folder inside the Docker container.
- Stop and remove any existing containers by running
docker-compose rm -fvs
from the root jpo-ode directory. - Open the
docker-compose.yml
file in the root jpo-ode directory and look for thevolumes:
tag under the ODE container definition that looks like this:
volumes:
- ${DOCKER_SHARED_VOLUME}:/host_share
Add a new line as shown below and replace <user path>
with the full path to your uploads directory. The path to the left of the colon is your user directory, and the path to the right corresponds to the path inside of the Docker container (which will not change).
volumes:
- ${DOCKER_SHARED_VOLUME}:/host_share
- <user path>:/home/uploads
Example:
volumes:
- ${DOCKER_SHARED_VOLUME}:/host_share
- /Users/BobSmith/Documents/jpo-ode/uploads:/home/uploads
- Run
docker-compose up --build -d
to restart the ODE and supporting containers.
File changes in the user directory will now be mirrored in the Docker container directory.
- If you are running this on Windows:
- First enable shared drives in Docker. See this guide: https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c
- Run
SET COMPOSE_CONVERT_WINDOWS_PATHS=1
to enable Docker-Compose's feature to convert Windows paths
- Decode a file with asn1c
- Deposit BSM to S3
- Docker fix for SSL issues due to corporate network
- Docker management
- ECDSA Primer
- Filter BSMs through PPM module
- Geofence Filtering for PPM
- Import BSMs from RSU log file
- Import TIMs from RSU log file
- jpo security svcs Integration
- Link host directory to Docker directory
- Migrating from SDW websocket depositor to SDW Depositor Submodule
- ODE Release Deployment
- ODE Release Preparation
- Prepare a fresh Ubuntu instance for ODE installation
- Process for Handling Bugs (Code Defects)
- Run the ODE using the ASN codec module
- Query RSU for set TIMs
- Schema Version 6 Change Notice
- Signed Message File Import
- TIM REST Endpoint Changes
- Using the .env configuration file
- Using the ODE test harness
- Delete TIM on RSU test
- Event Logger Test
- Import Decode and Deliver BSM Test
- Manage SNMP Test
- Sending PDM to RSU Test
- Sending TIM to RSU Test
- Submit_TIM_To_SDW Test
- Log File Changes (schemaVersion=4)
- Receive BSMs over UDP
- Receive ISD via UDP and deposit to SDC
- Receive VSD via UDP and deposit to SDC
- Run the crypto test vectors code with ODE team's OSS encoder
- SchemaVersion 5 Change Notice