-
Notifications
You must be signed in to change notification settings - Fork 44
Docker management
hmusavi edited this page Nov 1, 2017
·
4 revisions
jpoode_ode:latest
Version 0.10.1.0
- Install docker-compose https://docs.docker.com/compose/install/
- Set the environment variable
DOCKER_HOST_IP
to the IP address of the machine that will be hosting the application containers. Alternatively, create a.env
file in the same directory asdocker-compose.yml
. - if you want to customise any Kafka parameters, simply add them as environment variables in
docker-compose.yml
, e.g. in order to increase themessage.max.bytes
parameter set the environment toKAFKA_MESSAGE_MAX_BYTES: 2000000
. To turn off automatic topic creation setKAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
-
Make sure visualization is enabled in your BIOS
-
Run Command: docker-machine start default
-
Run Command: docker-machine env
-
Set Docker environment variables: a. Manually set the environment variables shown in your system environment permanently (make them static) OR b. Run Command: @FOR /f "tokens=*" %i IN ('docker-machine env') DO @%i
-
docker-machine ls ;Lists docker containers and the associated ip and port numbers
- Run
ifconfig
- Look for "inet addr:" under the desired network interface - generally "eth0" for Linux and "en0" for OSX
- Copy that IP address and then run command
export DOCKER_HOST_IP=<addr>
- Create a new directory somewhere on your machine, and note the full path
mkdir mySharedVolume
cd mySharedVolume
echo $PWD ### this will report the full path of your shared volume
Note: DOCKER_SHARED_VOLUME
must be in Linux format. If you are running on a Windows machine, valid Linux format would be something like: /C/mySharedVolume
if mySharedVolume
were to be created on the root of your C Drive
.
- Set the DOCKER_SHARED_VOLUME variable to that full path in the environment file or locally by
export DOCKER_SHARED_VOLUME=$PWD
export GIT_SSL_NO_VERIFY=1
- Deploy and start all containers
docker-compose up --no-recreate -d
- Lists the running containers under docker-compose
docker-compose ps
- Start a container
docker-compose start <container>
- Restart a container
docker-compose restart <container>
- Stop a container
docker-compose stop <container>
- Stop all containers
docker-compose stop
- Docker builds fail with a
wget: bad address
error
- 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