ubuntu输入不存在的指令自动联想安装指令

如果我在ubuntu16.04 Desktop上输入pip3,会提示:

The program 'pip3' is currently not installed. You can install it by typing:
sudo apt install python3-pip

如果我在docker容器里运行ubuntu镜像(就是那种最小镜像,基本上什么库都需要自己现装的),执行pip3,会提示

-bash: pip3: command not found

而没有提示怎么安装,我应该安装什么库以获得这种提示?

https://askubuntu.com/questions/309178/ask-to-install-program-after-the-program-x-is-currently-not-installed