Browse Source

correction of title and adding ` and "

content-update
lee 5 years ago
parent
commit
0c60dd0150
  1. 12
      subjects/ascii-art-web/ascii-art-web-dockerize.audit.en.md
  2. 10
      subjects/ascii-art-web/ascii-art-web.audit.en.md

12
subjects/ascii-art-web/ascii-art-web-dockerize.audit.en.md

@ -1,24 +1,24 @@
#### Functional Project Questions
#### Functional
###### Does the project present a DockerFile?
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/image_build/) `docker image build [OPTIONS] PATH | URL | -` to build the image. (example : `docker image build -f Dockerfile -t <name_of_the_image> .`).
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/image_build/) `"docker image build [OPTIONS] PATH | URL | -"` to build the image. (example : `"docker image build -f Dockerfile -t <name_of_the_image> ."`).
```
student$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
<name of the image> latest 85a65d66ca39 7 seconds ago 795MB
```
###### Run the command `docker images` to see all images. Does the docker image build as above?
###### Run the command `"docker images"` to see all images. Does the docker image build as above?
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/container_run/) `docker container run [OPTIONS] IMAGE [COMMAND] [ARG...]` to start the container. (example : `docker container run -p <port_you_what_to_run> --detach --name <name_of_the_container> <name_of_the_image>`)
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/container_run/) `"docker container run [OPTIONS] IMAGE [COMMAND] [ARG...]"` to start the container. (example : `"docker container run -p <port_you_what_to_run> --detach --name <name_of_the_container> <name_of_the_image>"`)
```
student$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cc8f5dcf760f ascii-art-web-docker "./server" 6 seconds ago Up 6 seconds 0.0.0.0:8080->8080/tcp ascii-art-web
```
###### Run the command `docker ps -a` to see all containers. Is the docker container running as above?
###### Run the command `"docker ps -a"` to see all containers. Is the docker container running as above?
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/exec/) `docker exec [OPTIONS] CONTAINER COMMAND [ARG...]`. (example : `docker exec -it <container_name> /bin/bash`) and do a `ls -l` to see the file system.
##### Try running the [command](https://docs.docker.com/engine/reference/commandline/exec/) `"docker exec [OPTIONS] CONTAINER COMMAND [ARG...]"`. (example : `"docker exec -it <container_name> /bin/bash"`) and do a `"ls -l"` to see the file system.
```
student$ docker exec -it postgres /bin/bash
I have no name!@51c2efe2d366:/$ ls -l

10
subjects/ascii-art-web/ascii-art-web.audit.en.md

@ -1,8 +1,8 @@
#### Functional Project Questions
#### Functional
###### Does the project contain HTML files?
##### Try inputting "{123}\n<Hello> (World)!" with the standard template/banner.
##### Try inputting `"{123}\n<Hello> (World)!"` with the standard template/banner.
```
__ __
/ / _ ____ _____ \ \
@ -23,7 +23,7 @@
```
###### Does it display the right result as above?
##### Try to input "123??" using the template/banner standard.
##### Try to input `"123??"` using the template/banner standard.
```
___ ___
_ ____ _____ |__ \ |__ \
@ -36,7 +36,7 @@
```
###### Does it display the right result as above?
##### Try to input "$% \"=" using the template/banner shadow.
##### Try to input `"$% \"="` using the template/banner shadow.
```
_| _|
_| _|_| _| _| _|
@ -49,7 +49,7 @@ _|_|_| _| _|_|
```
###### Does it display the right result as above?
##### Try to input "123 T/fs#R" using the template/banner thinkertoy.
##### Try to input `"123 T/fs#R"` using the template/banner thinkertoy.
```
0 -- o-o o-O-o o o-o | | o--o

Loading…
Cancel
Save