Kathlene Aglibot

How to Ping a docker container from outside the host (same network)

After creating an app in a docker container, you are bound to cross to a problem on wanting to access the containerized website or application outside the host. In this guide, you will know how to ping a docker container or the containerized website you are hosting outside the host. 1. Close the Virtual Machine …

How to Ping a docker container from outside the host (same network) Read More »

what is the difference between Docker and Docker Compose

The difference between Docker and Docker-compose is simple: docker commands are focused on only one container (or image) at once while docker-compose manage several containers docker. An example of difference of docker and docker compose is when you run these commands:  docker ps (-a)  In Docker, docker ps displays every docker instance currently running in your …

what is the difference between Docker and Docker Compose Read More »

How to Install Docker in Ubuntu 20.04

Docker is an open-source containerization platform that allows you to quickly build, test, and deploy applications as portable containers that can run virtually anywhere. Installing Docker in Ubuntu is fairly straightforward. We’ll enable the Docker repository, import the repository GPG key, and install the package. Just follow the steps below: Step 1: Update the packages …

How to Install Docker in Ubuntu 20.04 Read More »

what to do when pushing results to the requested url returned error: 403

Most likely the cause of this error is that the project file is not placed to the var/www/html where the apache has access to. But in this article, if you are having this error, you can push your project files by following the steps below. 1. Go to your project directory and delete the existing …

what to do when pushing results to the requested url returned error: 403 Read More »

How to Solve Error: the stream or file “/var/www/html/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: permission denied

If you encountered an error that says “Could Not Be Opened In Append Mode: Failed To Open Stream: Permission Denied” such us the the image below, you can solve this by simply changing the permission access of certain file. Change the access permission of the docker.sock file (docker socket) to be able to connect to …

How to Solve Error: the stream or file “/var/www/html/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: permission denied Read More »

How to install Laravel Application in Docker Container

Step 1: Download Laravel to your local machine If you don’t have Laravel in your local machine, install it first by cloning it by git command. git clone https://github.com/laravel/laravel.git laravelapp Step 2 : Create Docker Compose File After installing Laravel in your local machine, proceed to your Laravel project directory by typing: $ cd laravelapp …

How to install Laravel Application in Docker Container Read More »

Difference between docker run and docker start command

Docker commands sometimes leave us confused about its use and an example of these is the difference between docker run and docker start. Upon running the “docker run” command, it creates a new container of an image, and execute the container. Also, you can create clones of the same image. You can use the command …

Difference between docker run and docker start command Read More »