![docker install mongo docker install mongo](https://marioyepes.com/static/8e588c57732d260534532133da7a432d/69902/docker-mongo-express.png)
When possible, run a long-term support (LTS) edition of Ubuntu. This determines where APT will search for Docker packages. recv-keys 58118E89F3A912897C070ADBF76221572C52609Dįind the entry in the table below which corresponds to your Ubuntu version. For more information, see the output of man apt-key. This commands downloads the key with the ID 58118E89F3A912897C070ADBF76221572C52609D from the keyserver hkp://ha.:80 and adds it to the adv keychain. $ sudo apt-get install apt-transport-https ca-certificatesĪdd the new GPG key.
#Docker install mongo update
Update package information, ensure that APT works with the https method, and that CA certificates are installed.Log into your machine as a user with sudo or root privileges.This needs to be done so as to access packages from Docker repository. Post to obtain the latest version for other Ubuntu installations.
![docker install mongo docker install mongo](https://d33wubrfki0l68.cloudfront.net/9c3697321e09cb948784cc36d8f5a7810f1daba6/15b05/images/mongo.png)
Check this post if you need to update your Ubuntu Precise (12.04 LTS) kernel by scrolling further down. Check current kernel version with the command uname -r. Kernels older than 3.10 lack some of the features required to run Docker containers and contain known bugs which cause data loss and frequently panic under certain conditions. Docker requires Linux kernel version 3.10 or higher (Except for Ubuntu Precise 12.04, which requires version 3.13 or higher).
![docker install mongo docker install mongo](https://earthly.dev/blog/assets/images/mongodb-docker/42ecHnc.png)