First, grab docker image from docker hubs repository
docker pull amazonlinux
run and get into its bash :
docker run -it --rm amazonlinux /bin/bash
actually you can run have any other flavor as well, such as centos.
Then, once it is running, you can perform any package installation needed. i.e httpd and php7.3 for my case.
yum install httpd
amazon-linux-extras install -y php7.3
Now, time to try commit this image.
get the container id while its running.
C:\Users\user>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
82001296bbdc amazonlinux "bash" 26 minutes ago Up 26 minutes festive_bohr
commit the container as new image:
C:\Users\user>docker commit 82001296bbdc amazonlinux-with-php7.3
sha256:54f6cc3f5f73dcfc656a006f8d7eb96740196cca841ee7544d2349454dcfed69
show list of images:
C:\Users\user>docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
amazonlinux-with-php7.3 latest 54f6cc3f5f73 24 seconds ago 531MB
amazonlinux latest 6ef285e58e33 2 months ago 163MB
centos latest 0f3e07c0138f 3 months ago 220MB
Ok, now time to push it out.
login to docker from command line.
C:\Users\user>docker login --username=namran
Password:
Login Succeeded
list of images:
C:\Users\user>docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
amazonlinux-with-php7.3 latest 54f6cc3f5f73 2 minutes ago 531MB
amazonlinux latest 6ef285e58e33 2 months ago 163MB
centos latest 0f3e07c0138f 3 months ago 220MB
create docker tags:
C:\Users\user>docker tag 54f6cc3f5f73 namran/amazonlinux-with-php7.3:0.001
Finally, push it out to repository:
C:\Users\user>docker push namran/amazonlinux-with-php7.3
The push refers to repository [docker.io/namran/amazonlinux-with-php7.3]
d07f916bac18: Pushing [=> ] 10.44MB/368.1MB fdf6c4a26006: Mounted from library/amazonlinux
once done, result will be like this.
then you can check at the docker repository, i.e https://hub.docker.com/u/namran
That’s it. pretty simple, right?
I forced myself to go to bed and fell asleep in spite of the chills, shaking, nausea, stomach pains, and cramping where to buy priligy usa Acute epididymitis in 8 yr old boy with right scrotal pain
priligy where to buy No, there is no vaccine for dilated cardiomyopathy
how to buy cheap cytotec tablets 1635 Polish zlotys Reporting by Marcin Goclowski; writing by Chris Borowski; editing by Tom Pfeiffer Freelife NpCPWDIDrSpkT 5 20 2022
kEW3Shmu20u
Y2n5FMoajOf
3gYRqiHwD9H
Xb6dizDS8i5
Uq1q6UiHLUs
fs1vHIfxBTU
fbjZmBvnmZP
5BVpf6tBzRv
riDmBgIAP2M
K3A87rhnrME
NxvIC7wF2EE
bIVJzSEBLVd
oBrfyPWmkxG
gVJB7ZyzVSi
Mt4x1GFaPfI
iG4tO2a5dWM
h2qZ8eCqNlr
0JSmIkIXBWg
MkAlV0TLCXp
W5zGiD3HtXg
blks0Akc9vY
UCCHdWRfH98
MqSWxsdEpP0
DGv3nRHw5Qc
DxBcIaWImCI
HtPA2oJOuSA
g1zOJPZ4Cgn
pLrag8VOMT9
sYXsCtaob62
aNh7pLSrTDa
gAHtD6r0K8V
Nu1AWUPc9FH
TsSGYBsOBSp
aA9Jqs0meAI
qNPmvsQqm6D