When running Java applications in Kubernetes, we may wish to see a heap dump for diagnostic purposes. We look at how to extract a heap dump from a running pod.
Also find me here:
Baeldung Editor
Ashley Frieze
I've been writing software since I was a kid, and have been doing it professionally since the days of dial-up internet. These days I'm a consultant, helping teams with full stack cloud projects in Java and TypeScript. When I'm not software engineering, I can be found performing as a stand-up comedian, or in musical theater.
Here's what I've reviewed (so far):
Baeldung on Ops
- All
- Docker (6)
- Kubernetes (1)
- Jenkins (1)
Changing the Docker Image Installation Directory
Filed under Docker
After working with Docker for a while, we may wish to move its images directory somewhere else on the filesystem. We look at how to reconfigure Docker for a new image location.
Getting Docker Container ID from Container Name
Filed under Docker
For some Docker operations we need to know the ID of a particular container. We can find this out if we know the name of the container by using a few tricks.
How to Pass Environment Variable Value into Dockerfile
Filed under Docker
We can use environment variables when performing a docker build. These can be hard-coded into our Dockerfile, or passed as parameters into the build process. We look at how to use these techniques to build variations of image from the same Dockerfile.
How to Fix the “Name Already in Use by Container” Error in Docker
Filed under Docker
When running a docker container with a name we’ve used before, we’ll encounter an error. We look at a few ways to resolve this issue.
How to Include Files Outside of Docker’s Build Context
Filed under Docker
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.
Attach and Detach From a Docker Container
Filed under Docker
A Docker container can be run either attached to or detached from the terminal that launched it. We look at how to launch containers and how to retrospectively attach to running containers or detach the terminal without terminating them.
Jenkins Slack Integration
Filed under Jenkins
By setting up access tokens and plugins, we can keep our team informed about continuous integration with Slack notifications from our Jenkins builds.