@ -7,7 +7,7 @@ title: Docker
|
|||||||
|
|
||||||
A common use case would be to package an app and all its requirements in a container. The container can then be used during development, passed to quality assurance/testing, and on to production/operations. This eliminates the "works on my machine" mentality, as the container effectively _is_ the machine, no matter what actual hardware it may be running on.
|
A common use case would be to package an app and all its requirements in a container. The container can then be used during development, passed to quality assurance/testing, and on to production/operations. This eliminates the "works on my machine" mentality, as the container effectively _is_ the machine, no matter what actual hardware it may be running on.
|
||||||
|
|
||||||
After you are done setting up your computer and installig docker, you can simply test your Docker by running command:
|
After you are done setting up your computer and installing Docker, you can simply test your Docker by running the command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker run hello-world
|
$ docker run hello-world
|
||||||
@ -21,15 +21,15 @@ Hello from Docker!
|
|||||||
This message shows that your installation appears to be working correctly.
|
This message shows that your installation appears to be working correctly.
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
If you have no hello-world image locally Docker will automatically download it to your machine.
|
If you have no hello-world image locally, Docker will automatically download it to your machine.
|
||||||
You can list image that was downloaded or created to your machine by running command:
|
You can list the image that was downloaded or created to your machine by running the command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker image ls
|
$ docker image ls
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
[Docker Store](https://hub.docker.com/explore/) contains many common applications packaged up into containers and ready to be used.
|
[Docker Store](https://hub.docker.com/explore/) contains many common applications that are packaged up into containers and are ready to be used.
|
||||||
|
|
||||||
## Further reading
|
## Further reading
|
||||||
* [Docker Documentation](https://docs.docker.com)
|
* [Docker Documentation](https://docs.docker.com)
|
||||||
|
Reference in New Issue
Block a user