Image Docker with Go app
git clone https://github.com/ebnersilva/fullcycle-desafio-docker-go
😄 enjoy 😄
This challenge is very exciting especially if you have never worked with the Go language! You will have to publish an image to the docker hub. When we run:
docker run /codeeducation
We have to have the following result: Code.education Rocks!
If you notice, this image only performs a print of the message as a final result, so it's worth checking out Go Lang's own website to learn how to make a "hello world".
Remembering that Go Lang has official images ready, it is worth consulting the Docker Hub.
- The image of our Go project needs to be less than 2MB =)
Tip: In the introduction video about Docker when we talk about the layered file system, I present a "root" image, it might be a good use of it.
Have fun
https://hub.docker.com/repository/docker/ebnersilva/codeeducation
- 📝
Docker
- 📝
Go Lang
Print a message
: On run this container, the go app say "Code.education Rocks!"
This project use a MIT license. See the file LICENSE to more details.
Done with affection 💜 by Ebner Silva 👋