Docker and MongoDB 4.2 ....
Docker and MongoDB 4.2 ....
i'm a software developer and i installed MX Linux about two months ago.
i sadly found out that there is no up to date package for MongoDB (it's just 3.2 wherein the latest is far newer and it contains features i have to use).
i decided to install a docker image with the up to date mongodb, but alas, there's no docker package too!
Furthermore, the manual docker installation didn't work (the service seems to not be installed).
i'm in pain.... :-(
i sadly found out that there is no up to date package for MongoDB (it's just 3.2 wherein the latest is far newer and it contains features i have to use).
i decided to install a docker image with the up to date mongodb, but alas, there's no docker package too!
Furthermore, the manual docker installation didn't work (the service seems to not be installed).
i'm in pain.... :-(
Re: Docker and MongoDB 4.2 ....
Did you try the Debian 9 deb for MongoDB 4.2 on the website:
https://www.mongodb.com/download-center/community
On Docker, did you check the website?
https://docs.docker.com/install/linux/docker-ce/debian/
https://www.mongodb.com/download-center/community
On Docker, did you check the website?
https://docs.docker.com/install/linux/docker-ce/debian/
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Docker and MongoDB 4.2 ....
Hmm.., that's not good.
IIRC, the last time I installed Docker an a LiveUSB (!) the installation instructions I read worked well.
The best result to get help here in the forum is to provide detailed information about what's not working or what has been done.
As you might have done something we don't know, we can give only general instructions.
And perhaps also the hint to read this: (copied from JayM's signature-footer):
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.
PS: Welcome to the Forum!
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: Docker and MongoDB 4.2 ....
Thanks, @fehlix
Here's more information:
System:
Docker installation attempt:
Here's more information:
System:
Code: Select all
System: Host: milarepa Kernel: 4.19.0-5-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.8.6
Distro: MX-18.3_x64 Continuum May 26 2019
Machine: Type: Laptop System: System76 product: Oryx Pro v: oryp3-ess serial: <root required>
Mobo: System76 model: Oryx Pro v: oryp3-ess serial: <root required> UEFI: American Megatrends
v: 1.05.02dRSA2 date: 02/20/2017
- In the official repositories there's no docker (although there's docker-compose, surprisingly)
i went to the official docker site and downloaded docker-ce-cli_19.03.1~3-0~debian-stretch_amd64.deb and docker-ce_19.03.1~3-0~debian-stretch_amd64.deb
When i tried to install the engine, it failed due to the lack of dependency containerd.io which lacks from the official repositories nor did i find where i can get it.
Re: Docker and MongoDB 4.2 ....
To request new or updated software packages be added to the MX Repositories, please read these instructions. then post your request here.
I suggest that if you absolutely need the latest versions of application packages, a Linux distro based on Debian Stable or any other stable distro probably isn't the best fit for you. You may want to look for a Debian Sid-based distro or some other rolling release distro that has the newest versions of apps.
I suggest that if you absolutely need the latest versions of application packages, a Linux distro based on Debian Stable or any other stable distro probably isn't the best fit for you. You may want to look for a Debian Sid-based distro or some other rolling release distro that has the newest versions of apps.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
Re: Docker and MongoDB 4.2 ....
Thank you Jay.JayM wrote: ↑Mon Aug 19, 2019 4:21 am To request new or updated software packages be added to the MX Repositories, please read these instructions. then post your request here.
I suggest that if you absolutely need the latest versions of application packages, a Linux distro based on Debian Stable or any other stable distro probably isn't the best fit for you. You may want to look for a Debian Sid-based distro or some other rolling release distro that has the newest versions of apps.
i don't need the latest version for MongoDB (4.2). 4.0 is enough, but even that i wouldn't need if there was any version of docker. For a developer, it is rather important....
Re: Docker and MongoDB 4.2 ....
How To Install Docker in MX Linux
Setup Docker repository
Get Docker repository key
Verify Docker public KeyID : 0x8D81803C0EBFCD88
Manually:
Add Docker repo-key to apt's keyring
Check public-key and add to apt trusted keyring:
Add Docker repository to apt's sources.list
Refresh package lists:
Simulate to check docker installation
Install docker
Setup Docker repository
Get Docker repository key
Code: Select all
wget -O docker.gpg https://download.docker.com/linux/debian/gpg
Manually:
Code: Select all
gpg --keyid-format 0xlong docker.gpg 2>/dev/null
pub rsa4096/0x8D81803C0EBFCD88 2017-02-22 [SCEA]
9DC858229FC7DD38854AE2D88D81803C0EBFCD88
uid Docker Release (CE deb) <docker@docker.com>
sub rsa4096/0x7EA0A9C3F273FCD8 2017-02-22 [S]
Check public-key and add to apt trusted keyring:
Code: Select all
gpg --keyid-format 0xlong docker.gpg 2>/dev/null | grep -sq 0x8D81803C0EBFCD88 && sudo apt-key add docker.gpg
Code: Select all
# For MX 19 :
CODENAME=buster
# For MX 18 :
CODENAME=stretch
echo "deb [arch=amd64] https://download.docker.com/linux/debian $CODENAME stable" | sudo tee /etc/apt/sources.list.d/docker.list
Code: Select all
sudo apt update
Code: Select all
sudo apt --simulate install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
containerd.io docker-ce-cli
Recommended packages:
aufs-tools cgroupfs-mount | cgroup-lite pigz
The following NEW packages will be installed:
containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 50 not upgraded.
Inst containerd.io (1.2.6-3 Docker CE:stretch [amd64])
Inst docker-ce-cli (5:19.03.1~3-0~debian-stretch Docker CE:stretch [amd64])
Inst docker-ce (5:19.03.1~3-0~debian-stretch Docker CE:stretch [amd64])
Conf containerd.io (1.2.6-3 Docker CE:stretch [amd64])
Conf docker-ce-cli (5:19.03.1~3-0~debian-stretch Docker CE:stretch [amd64])
Conf docker-ce (5:19.03.1~3-0~debian-stretch Docker CE:stretch [amd64])
Code: Select all
sudo apt install docker-ce
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: Docker and MongoDB 4.2 ....
@fehlix - it works! Thanks a bunch!
Re: Docker and MongoDB 4.2 ....
You can also install MongoDB 4.2 from the developer's apt repo for Debian Stretch with a very similar procedure:
https://docs.mongodb.com/v4.0/tutorial/ ... on-debian/
You should remove any version from our own repos first, as they warn.
https://docs.mongodb.com/v4.0/tutorial/ ... on-debian/
You should remove any version from our own repos first, as they warn.