Ubuntu Pastebin

Paste from Brendan at Tue, 21 Mar 2017 12:25:07 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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$ 
Download as text