You can execute the following command to test whether Docker is installed successfully
docker run hello-world
output:
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
...
How to install Docker Compose?
You can execute the following command to test whether Docker Compose is installed successfully
docker-compose --version
output
docker-compose version 1.27.4, build 40524192
git clone https://github.com/rumsystem/light-timeline-setup.git
cd light-timeline-setup
If your domain is feed.com
, then use this command to deploy
export DOMAIN=feed.com && ./deploy.sh
Congratulations, the deployment is complete and you can access it by feed.com
.
./down.sh
Stopping light-timeline-setup_feed_1 ... done
Stopping light-timeline-setup_nginx_1 ... done
Stopping light-timeline-setup_postgres_1 ... done
Stopping light-timeline-setup_certbot_1 ... done
Removing light-timeline-setup_feed_1 ... done
Removing light-timeline-setup_nginx_1 ... done
Removing light-timeline-setup_postgres_1 ... done
Removing light-timeline-setup_certbot_1 ... done
Removing network light-timeline-setup_default