alpine images are smaller in size
sudo usermod -aG docker $USER
newgrp docker
sudo chmod 666 /var/run/docker.sock - not secure, everyone will have the permission
to remove docker container docker rm containerid
remove image
docker rmi imageid
host port:container port
go inside -
docker exec -it id /bin/sh
how to find running container size
docker ps --size
sudo usermod -aG docker ubuntu newgrp docker
Elastic Container Registry --> Create a repository -->
namespace / repo name
in IAM create new user attach policies - AmazonEC2ContainerRegistryFullAccess
security credentials ->access key
aws confidure
then got o Push commands for devops
Bridge is the default network , WHEN WE CREATING CONTAINER BY DEAFULT CONTAINER WILL GET CONNECTED TO THIS host - host mmachines network shared with docker container none -


