brendand@brendand-T450:~/maas-cl$ cat Dockerfile
FROM ubuntu:16.04
RUN apt-get update; apt-get install -y maas-cli
CMD maas
brendand@brendand-T450:~/maas-cl$ sudo docker build -t maas-cli .
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM ubuntu:16.04
---> 0ef2e08ed3fa
Step 2 : RUN apt-get update; apt-get install -y maas-cli
---> Using cache
---> 94074710e19c
Step 3 : CMD maas
---> Using cache
---> 395dc4a2bcd4
Successfully built 395dc4a2bcd4
brendand@brendand-T450:~/maas-cl$ sudo docker run maas-cli
Error: no arguments given.
Run /usr/bin/maas --help for usage details.
brendand@brendand-T450:~/maas-cl$