Docker

Restart Single Container …

When you’re running a set of containers with Docker Compose there are times that you need to restart just one of those containers. Let’s say for example that you need to restart your NodeJS server to read in a new environment setting. You could stop and restart the entire stack OR you …

Troubleshooting a …

Sometimes we have Docker containers that just won’t run, maybe they run briefly and then unexpectedly quit. If you don’t have access to the running container, and the logs provided by docker logs <container id> aren’t very helpful, try this trick. Let’s say our …

Docker, Where's My Data?

Docker is a fantastic tool, one of favorite in recent years, but it can have some unexpected behavior sometimes. If you ever mount volumes to your Docker containers to provide access to shared files between your container and host, you might have run into this issue. When you mount a volume into …