There&#x27;s a lot more that can happen differently there. Docker doesn&#x27;t hide all the details of the filesystem, kernel version, or the like. With EC2 instances you&#x27;re still running a kernel that has a lot of moving parts of its own.