remove space
This commit is contained in:
parent
5ac25c527e
commit
99f00e5dd5
@ -5,7 +5,7 @@ ADD index.html /www/index.html
|
|||||||
|
|
||||||
# EXPOSE $PORT
|
# EXPOSE $PORT
|
||||||
|
|
||||||
HEALTHCHECK CMD nc -z localhost $PORT
|
HEALTHCHECK .mdnc -z localhost $PORT
|
||||||
|
|
||||||
# Create a basic webserver and run it until the container is stopped
|
# Create a basic webserver and run it until the container is stopped
|
||||||
CMD echo "httpd started" && trap "exit 0;" TERM INT; httpd -v -p $PORT -h /www -f & wait
|
.mdecho "httpd started" && trap "exit 0;" TERM INT; httpd -v -p $PORT -h /www -f & wait
|
@ -14,4 +14,4 @@ RUN install_packages cron && \
|
|||||||
>>/etc/crontab
|
>>/etc/crontab
|
||||||
|
|
||||||
ENTRYPOINT ["cron"]
|
ENTRYPOINT ["cron"]
|
||||||
CMD ["-f", "-L8"]
|
.md["-f", "-L8"]
|
||||||
|
@ -33,7 +33,7 @@ For one off jobs like installing applications or services you might need that `s
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
I find myself using `clear` all the time, the `clear` command does exactly what it says it is going to clear the screen of all previous commands, putting your prompt to the top and giving you a nice clean workspace. Windows I think is `cls` in the cmd prompt.
|
I find myself using `clear` all the time, the `clear` command does exactly what it says it is going to clear the screen of all previous commands, putting your prompt to the top and giving you a nice clean workspace. Windows I think is `cls` in the .mdprompt.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ Azure PowerShell
|
|||||||
- Cross-platform PowerShell module, runs on Windows, macOS, Linux
|
- Cross-platform PowerShell module, runs on Windows, macOS, Linux
|
||||||
- Requires Windows PowerShell or PowerShell
|
- Requires Windows PowerShell or PowerShell
|
||||||
|
|
||||||
If there is a reason you cannot use PowerShell in your environment but you can use cmd or bash then the Azure CLI is going to be your choice.
|
If there is a reason you cannot use PowerShell in your environment but you can use .mdor bash then the Azure CLI is going to be your choice.
|
||||||
|
|
||||||
Next up we take all the theory we have been through and create some scenarios and get hands-on in Azure.
|
Next up we take all the theory we have been through and create some scenarios and get hands-on in Azure.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ The following table shows some of the dockerfile statements we will be using or
|
|||||||
| COPY | To copy over files or directories from a specific location. |
|
| COPY | To copy over files or directories from a specific location. |
|
||||||
| ADD | As COPY, but also able to handle remote URLs and unpack compressed files. |
|
| ADD | As COPY, but also able to handle remote URLs and unpack compressed files. |
|
||||||
| ENTRYPOINT | Command that will always be executed when the container starts. If not specified, the default is /bin/sh -c |
|
| ENTRYPOINT | Command that will always be executed when the container starts. If not specified, the default is /bin/sh -c |
|
||||||
| CMD | Arguments passed to the entrypoint. If ENTRYPOINT is not set (defaults to /bin/sh -c), the CMD will be the commands the container executes. |
|
| .md | Arguments passed to the entrypoint. If ENTRYPOINT is not set (defaults to /bin/sh -c), the .mdwill be the commands the container executes. |
|
||||||
| EXPOSE | To define which port through which to access your container application. |
|
| EXPOSE | To define which port through which to access your container application. |
|
||||||
| LABEL | To add metadata to the image. |
|
| LABEL | To add metadata to the image. |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user