To get the latest Docker version on your existing Ubuntu or to get any Docker version onto the latest Ubuntu version, Docker Docs have instructions for performing a binary install.
1. Install static binaries
2. Manage Docker as a non-root user

If you want Docker to start automatically on boot.
1. Manually create the systemd unit files
2. Configure Docker to start on boot