Downloaded Exercise File
parent
ba6e3d9d71
commit
d2b97c7bb2
|
@ -0,0 +1,3 @@
|
||||||
|
FROM debian:sid
|
||||||
|
RUN echo "building simple docker image"
|
||||||
|
CMD echo "Hello Container"
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM debian:sid
|
||||||
|
RUN apt-get -y update
|
||||||
|
RUN apt-get install nano
|
||||||
|
CMD ["/bin/nano", "/tmp/notes"]
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM example/nanoer
|
||||||
|
ADD notes.txt /notes.txt
|
||||||
|
CMD ["nano", "/notes.txt"]
|
|
@ -0,0 +1,5 @@
|
||||||
|
Docker: The Basics
|
||||||
|
Frequently Asked Questions
|
||||||
|
|
||||||
|
Q: I can't use the nano editor on Windows
|
||||||
|
A: You'll need to install another plaintext editor, such as Vim, which is available at http://www.vim.org/download.php#pc.
|
|
@ -0,0 +1,3 @@
|
||||||
|
export FORMAT="\nID\t{{.ID}}\nIMAGE\t{{.Image}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.RunningFor}}\nSTATUS\t{{.Status}}\nPORTS\t{{.Ports}}\nNAMES\t{{.Names}}\n"
|
||||||
|
|
||||||
|
# this shell will only work on bash
|
Loading…
Reference in New Issue