Tag Archives: Docker
Troubleshooting Web Applications Deployed with CapRover in Docker Containers
Jump into the terminal of a CapRover app named testapp. Use Ctrl + P, then Ctrl + Q to exit that terminal without killing the container. Logs of the deployed application (–follow keeps retrieving the latest events): CapRover logs: Logs for Docker itself (if your application keeps getting respawned in new containers, the answer may…
Changing the Directory Used by Docker
If you want to have the docker images kept in another directory, such as a mounted volume: Then place the following after updating “/mnt” with your target path. Restart Docker: The old Docker directory will not be used anymore so you can remove it by:
Routing Traffic to Docker Containers
How to Setup Nginx Reverse Proxy for Routing Incoming Traffic to Different Containers and Certbot for Auto-Renewing SSL Certificates For small applications or test environments where separate machines for different web servers are cost prohibitive, one option is to have different servers run on the same machine in different Docker containers. Docker doesn’t support exposing…