Create a docker image/container from EC2 AMI

Here is how I did it. On source AMI locate root volume snapshot id in the description /dev/sda1=snap-eb79b0b1:15:true:gp2 Launch instance with public Ubuntu 14.04 AMI Create volume from snapshot snap-eb79b0b1 (in the same region that the instance runs). Attach volume to the instance as /dev/sdf mount volume to /mnt mount /dev/xvdf /mnt (or) mount /dev/xvdf1 … Read more

Docker: How do I pull a specific build-id?

You can pull a specific image by digest by using the following syntax: docker pull ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 If you need to find the hash, it is output when pushing/pulling the image. Some automated builds output it at the end. I tried looking for the hash with docker inspect but it didn’t appear to be there, so … Read more

Docker hub vs docker cloud

For your needs, you should probably go with Docker Hub. The Docker Cloud has more added features and so it is more extensive than Docker Hub. It seems like Docker Cloud is built on top of Docker Hub to provide a more comprehensive solution in the Docker eco-system. However, when it comes to the core … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)