Giter Site home page Giter Site logo

sayshark75 / docker-practice Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29 KB

Practicing Docker to Containerize Web Apps.

Dockerfile 5.26% HTML 8.43% TypeScript 34.55% JavaScript 4.69% CSS 47.07%
docker docker-compose expressjs mongodb nextjs vitejs

docker-practice's Introduction

๐Ÿณ Docker Experience Summary ๐Ÿš€

During recent Docker practice sessions, I successfully completed the following tasks:

  • ๐Ÿ› ๏ธ Installation and configuration of Docker.

  • ๐Ÿ“ Development of Dockerfiles for various projects.

  • ๐Ÿ–ผ๏ธ Creation of Docker images for a Simple Vite App Boilerplate using the command:

    docker build -f custom-docker-file-name -t image-name .
    
  • โš™๏ธ Execution of Vite Boilerplate within a customized Docker image based on node:18-alpine with the command:

    docker run -p 8013:8080 image-name
                      ^
    the left port is custom port we define to run the application
    the right port is the actual port which is configured in the web app and exposed in Dockerfile
    
  • ๐Ÿ”„ Replication of the above procedures for NextJS and a simple Express Backend built with TypeScript.

  • ๐Ÿ™ Utilization of Docker Compose to orchestrate a single container with multiple instances with the command:

    docker-compose up --build
    
  • โš™๏ธ Executing Mongodb commands in a mongo image based container using bash

    docker exec -it <mongo-container id or name> bash
    
    # then
    
    mongosh <DB url>
    

These experiences have enhanced my proficiency in Docker and containerization practices. ๐ŸŒŸ

docker-practice's People

Contributors

sayshark75 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.