How to Determine Screen Height and Width in Flutter?

Here in this article, you will see how you can determine the height and width of screen using the MediaQuery in easy way. Read the article to for more information.

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Yet another Docker post

Docker is the new hypervisor

I outlined a few challenges that exist in traditional software deployments, and the approaches that a DevOps process can be used to overcome them. Along with that, I also specified a whole bunch of tools which are used to actually walk the DevOps walk.

This article will speak a little about Docker.

Hypervisors are an abstraction on hardware. They allow for a logical separation of physical computing resources into multiple virtual machines. They’re called virtual because they’re like a partition of the hard disk: On the surface, they may seem different, but actually, they all run on the same hardware.

Hypervisors solved the problem of underutilization of computing resources, by providing a mechanism to create virtual machines that had exactly the amount of resources that an application required, and nothing more.

Diverging a little from technology, let’s talk how mankind interacts with animals. We raise pets in our homes, and also have cattle for other… utilitarian purposes.

The purpose for the existence of each is different, and the way they’re treated is also completely different.

The problem with virtual machines is the time it takes to configure them to meet application-specific requirements. Any change in the application might necessitate a change in the configuration of the VM.

If the changes are infrequent, and not huge, no biggie. But think of places like Uber, Airbnb, or any place where you have a huge team of developers constantly pushing code, and the code has to run on multiple environments(dev, test, and production), and you’re looking at a nightmare to manage.

Containers are an abstraction on virtual machines, and they solve the problem of multiple applications requiring multiple environments.

On to installing Docker on Ubuntu 16.04

2. Adding the docker repository, so you can install it using the aptitude package manager

3. Run an update

4. Configuring aptitude, so that it uses the newly downloaded repo, and not the default Xenial Xerus repo

5. Install Docker

6. Sanity check

You probably won’t see anything after the highlighted lines, unless you’re running this on an EC2, so that isn’t anything to worry about.

7. Adding the current user to the docker group(Optional)

If you’re unable to run the

command without sudo, then run

logout, and log back in.

8. “Hello, Docker World!

9. Playing around

Let’s install a CentOs image on the Ubuntu machine.

sanity check, to verify that the command worked

FIN. Stay tuned for updates, and feel free to ask if you have any troubles installing!

Add a comment

Related posts:

PUP Surviving the Years of Martial Law

I wish I was able to write down my conversation with Maam T. It was a brief typical chikahan at faculty[this is before the pandemic]. I can’t remember how we end discussing the old building of PUP in…

Qatar Airways buys a chunk of Cathay Pacific.

Qatar Airways is now the proud owner of 9.61% of Cathay Pacific, expanding its airline investment portfolio. The shares will be purchased from Hong Kong’s Kingboard Chemical Holdings at a price of…

Planting Seeds

Teaching is not easy. We are in a reality in which the research says our students are coming to us with PTSD, or are living in traumatic environments that directly affect their ability to focus in…