I followed a really simple get-started intro video to docker, and the "hello world" example to start with looks like this:
FROM ubuntu RUN apt-get update CMD ["echo","hui there"]
I then build with:
sudo docker build .
everything goes as planned. Now I run
sudo docker images:
ask@Garsy:~/Notes/TA/AppliedInfoSec/docker$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE <none> <none> 890bf2a53fe0 10 seconds ago 104MB ubuntu latest fb52e22af1b0 4 weeks ago 72.8MB
This is strange, it seems like the command created two images for me? (this top image was not there before)
Why does this happen? is it simply the base image I am pulling from thta does this, and why would it do that?