-
Notifications
You must be signed in to change notification settings - Fork 0
Docker Summary
Docker is a platform for building and running containerized applications, where a container packages your source code, dependencies, and runtime environment into a self-contained unit that can run anywhere a container runtime is available.
A Docker image is required to launch a container. This image defines the initial filesystem state and is built using a Dockerfile
, which consists of sequential instructions in the form:
# comments
INSTRUCTION arguments
Common instructions include:
-
FROM
: base image -
COPY
: copy files into the container -
RUN
: execute commands during image build
Two key instructions for container behavior are:
-
ENTRYPOINT
: specifies the main command to run when the container starts -
CMD
: provides default arguments for the entrypoint
We have dockerized our frontend app and published on DockerHub, here is the link. To experience Docker at first-hand, you can clone the image file and build a container to run our application, and witness how practical containerization is!
To pull the image
docker pull ardasaygan77/frontned
to run it in a container
docker run -p 5173:5173 frontend
After this, our app can be found at http://localhost:5173


-
Use Cases:
- Template
- Scenario 1: Community Sharing
- Scenario 2: For a Dietitian
- Scenario 3: Maintaining a Personal Inventory (as a Producer)
- Scenario 4: Proposing a Product and Adding a Recipe to Weekly Meal Plan
- Scenario 5: Creating a Meal Plan
- Scenario 6: Resetting Password
- Scenario 7: Moderator Actions
- Scenario 8: Searching for and Proposing a New Food Item
- Scenario 9: Budget-Conscious Grocery Shopping
- Scenario 10: Creating a New Store
- Scenario 11: User Profile Management
- Git: In a Nutshell
- Example GitHub Repositories
- System Modeling & UML
- Frontend Tutorial
- Frontend Roadmap
- Frontend Styling Guide
- Docker Summary
- Writing Endpoints
- Yusuf AKIN
- Arda SAYGAN
- Fatih Furkan Bilsel
- Berk GOKTAS
- Berkay BILEN
- Yusuf Anıl YAZICI
- Taha Topaloglu
- Nuri Basar
- Onur Kucuk
- Hasancan Keles
- Mete Damar