Managing Docker with PHP client

Gagan Kr.
1 min readMar 26, 2022

We have been using docker with cli this time will be using web API of docker to fetch and do some fantastic things let’s move on to practical directly

Installation of Docker — aws, local host

Exposing the docker to Web API so that we can access it via HTTP


OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false -H tcp://'

Install the Apache web server :

For better connect the webserver via the vscode for easy coding and set up the remote server setup

inside windows cmd :


ssh-copy-id root@ip

— — — — — — -

open the vscode in /var/www/ folder

Launch the webserver

yum install php



Gagan Kr.

Passionate towards the Cloud and DevOps tools and technologies. I love to integrate these techs. Go to the core of it and share with my audience !