Docker
Install Docker and pull necessary images for openedx

Install Docker

One of the requirements to be able to prepare your deployment node is installing Docker.
Visit https://docs.docker.com/get-docker/ and follow the instructions based on your operating system to install docker.

Set up your docker environment

Make sure your Docker engine is running
We have other docker images for deployer you can check them out here​
1
# Make sure your docker engine is running
2
docker --version
3
​
4
# Pull Koa version of Deployment Node
5
docker pull cubite/deployment-node:koa.master
6
​
7
# Go to deployer folder you created in previous step
8
cd deployer
9
​
10
# Create a container from the pulled image
11
docker run -it \
12
-v $(pwd)/configuration:/deployer/configuration \
13
-v $(pwd)/ansible.cfg:/deployer/ansible.cfg \
14
-v $(pwd)/edx-configs:/deployer/edx-configs \
15
-v $(pwd)/infra:/deployer/infra \
16
--name koaDeployer cubite/deployment-node:koa.master
17
​
18
# This creates new container called koaDeployer and mounts necessary files to it
19
# write exit to close the shell
20
# As soon as you exit the shell the container stops
Copied!
Last modified 5mo ago