In this post, we show how to copy a file to a running docker container. Also we show how to copy an existing file inside a running docker container to your local folder. For copying a file inside a running docker container the command is: docker cp yourfile container-id://path-inside-docker For example to […]
In this tutorial we explain how to make a docker image and then push to docker hub so that others can pull the image and make docker containers based on the image. For making a docker image we need to have a Dockerfile file. As an example, you have a simple nodejs application and […]
In this tutorial, we show how to backup or dump and how to restore a postgresql database. For making a backup you can use pg_dump command like below: pg_dump -Fc -h localhost mydatabase -U myuser -n myschema > test.pgdump in the above, change hostname (localhost), database name (mydatabase), user (myuser) and schema […]
In this tutorial, we show how to stop all container. Also, we show how to remove or kill all docker containers. Please note that sometimes docker containers has executed and exited and are not in the running mode, on the other hand, it is possible we have a docker container which is running and […]
In this tutorial, we show how to stop, start or run a docker container. Also we show how to remove an existing container. We also talk about what is the difference between docker run and docker start. If you don’t know what is docker container, we recommend you have a look at the essential […]
This tutorial shows how to start working with the docker commands and teaches the docker basics. Docker engine is a software which needs to be installed in your computer so that you are able to work with docker images and containers. As an example, you can install Docker Desktop for Mac from Docker Hub […]
This tutorial shows how to install docker on ubuntu. Most of the applications and software packages now are available as docker images and it is essential to know how to install docker to be able to get those images and build and run docker containers based on the images. Also in this tutorial, we […]
This tutorial shows how to redirect your website from http to https using Apache. It also shows how to ProxyPass a web application in Apache. For example, if your application is running in localhost:8080 you can make it redirect to localhost using Proxypass in apache. The first step is enabling the rewrite, proxy_http and […]
This tutorial shows how to install WordPress in Ubuntu 18.04. It starts by showing how to install Apache2, PHP , MYSQL. It shows how to change MYSQL password and download and copy WordPress files in Apache. In addition, it talks about how to change the htaccess file and how to enable rewrite mode in […]