Skip to content

Why containers: from bare metal to VMs to containers

Select an icon to see what it is.

Step 2 of 6

It works on my machine

A developer builds on the laptop (192.168.1.10) with Python 3.10 and tests pass. The same code is copied to the production server (10.0.0.20), which has Python 3.8 and different libraries. It fails there, because the environment is not the same.

Same code, two environments

laptop 192.168.1.10: Python 3.10, library versions A
server 10.0.0.20: Python 3.8, library versions B
match statement (new in 3.10) -> SyntaxError: invalid syntax on 3.8