Except the version of docker that ships with Ubuntu apt is out of date. The snap install doesn't add your user to the docker group.
Once you have root just do whatever you want. replace the binary, install another version, upgrade the kernel, and then run your app.