boot2docker uses `tinycorelinux` ( [tiny core linux](http://tinycorelinux.net/) ) for it’s base image – and it is just that – tiny.
If you want to add in utilities, you’ll need to use `tce-load` because this distro doesn’t have `apt-get install` / `aptitude install` or `yum install`
What they have instead is `tce-load` – some information can be found on their [install apps](http://wiki.tinycorelinux.net/wiki:install_apps) page
To install nmap you can run:
tce-load -wi nmap.tcz
I did not see `netcat` listed on the [packages page](ftp://distro.ibiblio.org/tinycorelinux/tce.html) but I was able to install `socat` which does the same things as `netcat`
tce-load -wi socat.tcz