Downloaded Exercise File
This commit is contained in:
parent
ba6e3d9d71
commit
d2b97c7bb2
3
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-1.txt
Executable file
3
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-1.txt
Executable file
@ -0,0 +1,3 @@
|
||||
FROM debian:sid
|
||||
RUN echo "building simple docker image"
|
||||
CMD echo "Hello Container"
|
4
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-2.txt
Executable file
4
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-2.txt
Executable file
@ -0,0 +1,4 @@
|
||||
FROM debian:sid
|
||||
RUN apt-get -y update
|
||||
RUN apt-get install nano
|
||||
CMD ["/bin/nano", "/tmp/notes"]
|
3
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-3.txt
Executable file
3
Ex_Files_Learning_Docker_Upd/Exercise Files/Dockerfile-3.txt
Executable file
@ -0,0 +1,3 @@
|
||||
FROM example/nanoer
|
||||
ADD notes.txt /notes.txt
|
||||
CMD ["nano", "/notes.txt"]
|
5
Ex_Files_Learning_Docker_Upd/Exercise Files/FAQ.txt
Executable file
5
Ex_Files_Learning_Docker_Upd/Exercise Files/FAQ.txt
Executable file
@ -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.
|
3
Ex_Files_Learning_Docker_Upd/Exercise Files/reformat.sh
Executable file
3
Ex_Files_Learning_Docker_Upd/Exercise Files/reformat.sh
Executable file
@ -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…
x
Reference in New Issue
Block a user