TechTrendz is a young startup that focuses on developing cutting-edge web applications. They have recently realized the benefits of containerization and have decided to containerize their flagship application using Docker to enhance portability and deployment efficiency. As part of the containerization process, the DevOps team at TechTrendz has created a Docker image and Dockerfile for their application. However, due to some mistakes, the image fails to build correctly, leading to deployment issues. The DevOps team needs the assistance of the Azubi Africa Cloud Engineering students to identify and fix the errors.
docker build -t appname .
docker run -d -p 800:0 appname
docker stop <container_id>
docker rm <container_id>
docker ps
docker ps -a
docker rm $(docker ps -a -q)
docker login
docker tag guessing_app <docker_hub_username>/guessing_app
docker push <docker_hub_username>/guessing_app
docker pull <docker_hub_username>/guessing_app
docker run -d -p 8080:8080 <docker_hub_username>/guessing_app
```