Anatomy of a sample docker file
Just a quick refresh on the elements of a sample docker file:
FROM ubuntu
LABEL maintainer="Mike <[email protected]>"
USER root
COPY ./foo.bash /
RUN apt -y update
RUN apt -y install foo foo2
RUN chmod 755 /foo.bash
USER nobody
ENTRYPOINT [ . . .
Explain to me like I'm 9: what exactly ARE Docker containers?
I recently came across what could be the best explanation of containers and wanted to share it.
Source: "Learning Docker" series on LinkedIn Learning by Carlos Nunez.
- A container is composed of two things: a Linux namespace and a Linux control group.
- Namespaces are a Linux kernel feature that provides . . .
Pondering the "it works on my machine" problem
I've been working recently with Kubernetes and docker (super fun!). A question kept lingering in the back of my mind though: why is inconsistent stability and results in prod such a broadly reported issue?
I came across a LinkedIn course by Carlos Nunez and I really liked the reasons he gave:
- Missing Tools - . . .
Refresher on Docker Containers
Here's a quick recap on Docker containers and how they work.
- Containers are virtualized instances of operating system kernels.
- Be careful though: Unlike virtual machines, while containers look like separate smaller instances of Linux or Windows, they consume resources like processor time, memory, and disk space directly . . .