I entered the command lines:
docker pull ubuntu:16.04
docker run -it ubuntu:16.04
then, as a root:
apt-get instal npm
and after the installation succeeded,
npm install npm@latest
The problem is that, when I enter, while running ubuntu:16:04 container,
I only have the version 3.5.2
How can I upgrade the npm and node versions inside the image?
I need more recent versions (I would like to get the npm 5.6.0 version) in order to be able to build another project inside the ubuntu image.
Thanks in advance!