Skip to content

Link host directory to Docker directory

Matt S edited this page Sep 12, 2017 · 9 revisions

Goal

Link the uploads directory on the user's computer to the corresponding folder inside the Docker container.

Procedure

  1. Stop and remove any existing containers by running docker-compose rm -fvs from the root jpo-ode directory.
  2. Open the docker-compose.yml file in the root jpo-ode directory and look for the volumes: 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
  1. 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.

Troubleshooting

Releases

Change Notices

Informational Reference

  • 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

Test Procedures

  • 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

Archived

  • 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
Clone this wiki locally