I am using ubuntu 15.10 and was trying to use docker to setup my node and mongo environments. But since lsb_release -a
command doesn't work inside docker I was not able to know the version of ubuntu docker image has. It was tagged as ubuntu:latest
. Also /etc/lsb-release
utility shows permission denied inside docker.
Is there a way to know which ubuntu version is present inside docker container because for installing mongo I need the name of version to add e.g. for 14.04
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list