Dockerize a Pipeline
Docker files are amazing, and you shouldn't write them.
This section will teach you:
Build the container
$dsdt dockerize .
Copying dot file /Users/kyocum/.pip/pip.conf into /var/folders/qv/3rgd_4_569s_8x9xftx96m40zcg1xn/T/tmpx8j7e2hxdockerize
---------- Building base operating system environment
docker build \
--build-arg KICKSTART_ROOT=/opt/kickstart \
--build-arg CONDA_VERSION=NO_CONDA \
--build-arg VIRTUAL_ENV=/opt/python-virtualenv \
--file /var/folders/qv/3rgd_4_569s_8x9xftx96m40zcg1xn/T/tmpx8j7e2hxdockerize/Dockerfiles/00-disdat-python-3.6.8-slim.dockerfile \
--tag disdat-python-3.6.8-slim \
/var/folders/qv/3rgd_4_569s_8x9xftx96m40zcg1xn/T/tmpx8j7e2hxdockerize
Sending build context to Docker daemon 11.94MB
Step 1/11 : FROM python:3.6.8-slim
[ . . . a lot of other output . . . ]
Step 27/28 : ENTRYPOINT [ "/opt/bin/entrypoint.py" ]
---> Running in ca2eb595db0f
Removing intermediate container ca2eb595db0f
---> 28ffbf8232dd
Step 28/28 : CMD [ "--help" ]
---> Running in 3d268a339452
Removing intermediate container 3d268a339452
---> 64a7eb830096
Successfully built 64a7eb830096
Successfully tagged disdat-examples:latest
----- Built Docker image for the disdat-examples pipeline on python-3.6.8-slimCheck to see if your container is now registered with Docker
Last updated
Was this helpful?