Skip to content

Instantly share code, notes, and snippets.

@HokieGeek
Last active July 11, 2016 04:06
Show Gist options
  • Save HokieGeek/137e3760a8b074df0565c6f202275d15 to your computer and use it in GitHub Desktop.
Save HokieGeek/137e3760a8b074df0565c6f202275d15 to your computer and use it in GitHub Desktop.
AIC Docker presentation
#!/usr/bin/sent
AIC, Docker, and You
Overview
∙ What is docker?
∙ How are we using docker?
∙ What does this buy us?
∙ How to use
◢ What is docker? ◣
Each 'image' is an isolated
user-space instance used to
deploy and run a process.
When an image is run,
it runs the configured
process within its sandbox.
◢ How are we using docker? ◣
Building and running copies of
aic_releases within an image.
Each image will be configured
with a specific set of
dependencies.
@aic-docker-hierarchy.png
◢ What does this buy us? ◣
No more dependency collisions
of different AIC releases.
Dependency updates are applied
by updating a local image.
Dependencies can be tested in a
trully isolated environment.
Reduced resource cost
vs. a traditional VM.
Can run multiple AICs on a
single machine without VMs.
Can run a copy of the AIC
while building another.
◢ How to use ◣
All relevant scripts are located
in /Scripts/AIC/docker.
For first time use, execute
'setupDocker.sh'.
Execute 'buildAic.sh' to build
a local copy of aic_releases
within an image.
Execute 'startAic.sh' to run
a copy of aic_releases
within an image, accessed
via VNC session.
# 'docker images' shows which
# images you have downloaded
# 'docker ps' shows you running
# containers
For more advanced use,
see (future updates of)
AIC Docker page
on Confluence.
Questions?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment