Skip to content

Difference in local and VM results and RealWorld DevOPS experience #318

Answered by jinyus
cyrusmsk asked this question in Q&A
Discussion options

You must be logged in to vote

The testing machine is the most powerful VM you can get on Azure FREE tier (1 Month). Azure F4s v2 - 4vCPU-8GB-Ubuntu 22.04

Here is a single command you can use to install docker and build the image on a fresh VM:

# after you login
sudo apt update &&
    sudo apt install -y apt-transport-https ca-certificates curl software-properties-common &&
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cyrusmsk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants