By default, Docker expects to find all files for a build in the vicinity of the Dockerfile. We look at some options for pulling files from other parts of the filesystem, allowing us to split our Docker scripts from their dependencies.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Ops
- All
- Docker (57)
- Jenkins (22)
- Git (13)
- Kubernetes (9)
- Series (4)
- Logging (2)
- DevOps (2)
- Deployment Tools (2)
- DevOps Concepts (1)
- Cloud (1)
Reset/Disable Jenkins Security Settings From Command Line
Filed under Jenkins
Learn about different approaches to regain access to the Jenkins console after losing the password.
How to Recover a Dropped Stash in Git
Filed under Git
The git stash can be used to store changes temporarily. If we drop these changes, we can still get them back again. We look at how to re-apply a stashed change, and how to find it.
Assigning a Port Mapping to an Existing Docker Container
Filed under Docker
When running a Docker container we can set a port mapping to allow communication through the host. This usually is fixed for the lifetime of the container. We explore some strategies for changing the port mapping for an existing container.
Remove a Large File from Commit History in Git
Filed under Git
Learn how to remove large files from the commit history of a git repository using various tools.
How to Run a Cron Job Inside a Docker Container?
Filed under Docker
A quick and practical guide to running CRON jobs in a Docker container.
Removing Docker Containers
Filed under Docker
Learn why it is necessary to remove Docker containers.
How to Get Docker-Compose to Always Use the Latest Image
Filed under Docker
In this tutorial, we’ll check out several options to ensure that docker-compose always uses the latest images of the applications.
States of a Docker Container
Filed under Docker
Explore different states of a Docker container.