Tag: containers
-
Docker Demos — Saving, importing, and running a container
Introduction It’s been a while, but thank you for checking in again! In one of our previous tutorials, we built a basic Docker container using nothing more than an Alpine Linux image and some container notes. As we’ve seen in other tutorials, we can extend this to run a myriad of other programs within the…
-
Docker Demos — Conda environments & containers
Introduction Welcome back! In one of our previous tutorials, we learned how to use Microsoft Visual Studio Code to build our first containers. In the tutorial, we constructed a container based on an Alpine image, version 3.14. Given the size of the image, however, we did not have access to any coding languages such as…
-
Docker Demos — Running unit tests in Docker Compose
Introduction Hi, friend! Welcome back, and thank you for learning along with me. In our last tutorial, we learned how to build a Docker container and simultaneously run a Bash file within the container to iteratively call a Python script. But what if the Python script is some sort of analysis tool? Following good programming…
-
Docker Demos — Iteratively call a file in a running container
Introduction Welcome back, and thank you for joining for for another Docker tutorial. As we alluded to in a previous post, the skills and capabilities we’ve begun to acquire are starting to become quite powerful. From the very beginning, we’ve installed Docker on Windows, learned about the Docker Desktop interface, learned about Docker containers, built…
-
Docker Demos — Cleaning up
Introduction It seems like every time we have a new application, there’s a need to clean or remove some piece of electronic garbage we may have left behind! In this short tutorial, we’ll discuss some techniques for cleaning up after ourselves in the Docker world. Since our previous tutorials have worked with both Docker and…
-
Docker Demos — Populating a shared volume with a local directory
Introduction Thank you for joining for another segment of Docker Compose skill building! In our last segment, we saw how to share a volume between two containers. We demonstrated the shared volume by showing that the shared volume directory in both containers was empty; we then added a file (“dog.png”) to one of the containers,…
-
Docker Demos — Sharing a volume between two containers
Introduction Welcome back! In our last segment, we discussed attaching two containers to a single network within a Docker Compose file. This entailed defining a network within each service (in turn defining each container), as well as defining a network outside of the services section. This ensured that we defined a network with a memorable…