

What in the world is a container?

What? No Virtual Machines??

What is a container?
"A container is a standard unit of software that packages up code and all of its dependencies so the application can run quickly and efficiently from one computing environment to another"
-Docker
What are the benefits of containers?




Why Docker?



Docker looks cool! How do I use it at CSX?
Do I need to submit a service request?

Where do we get images?


+
$ docker login docker.csx.com
Username: y2498
Password: ******How do I connect to Nexus?
$ docker container run -it docker.csx.com/centos bash
Unable to find image 'docker.csx.com/centos:latest' locally
latest: Pulling from centos
8ba884070f61: Pull complete
Digest: sha256:ca58fe458b8d94bc6e3072f1cfbd334855858e05e1fd633aa07cf7f82b048e66
Status: Downloaded newer image for docker.csx.com/centos:latest
[root@136c2cade3ec /]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
How do we run containers in production environments?


Demo Time!
deck
By evanamstutz
deck
- 12