sampledockerrepo's Introduction
/* Author - Sanghapal Salave */ Follow the below commands to use this docker project To run code on windows environment open docker setting in software -> Docker Engine-> set "experimental": true 1 ) Create springboot application using STS add Dockerfile to your project refer SampleDocker/Dockerfile 1) Download the docker software from docker officiale website. 2) Install the docker 3) Check the Virtualization enabled Task Manager->Performance->CPU->Virtualization its is enabled by default if not then enable it 4) Enable the Hyper V using windows power shell,command come bydefault when install docker Command to enable the hyper -v : Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 5) Switch the docker from linux container to Windows container Right click on docker icon on taskbar -> Switch to windows 6) Create account with docker hub 7) Login in installed docker using docker username and password 8) Create repository 9) open cmd with admin mode go to your project where docker file(Dockerfile) is located and insert below commands docker login -------------------------------------------------- This command is used to login in docker hub. if logged in docker software it will login automatically else insert your docker username and password. docker images ------------------------------------------------- This command is used to chek the list of docker images in your repository docker build -t sample_docker_repo . -------------------------------------------------- This command is used to build the docker image file docker tag sample_docker_repo sanghapalsalave/sample_docker_repo ------------------------------------------------------------------ This command is used to tag your docker repository to docker hub repository docker push sanghapalsalave/sample_docker_repo ------------------------------------------------------------------------- This command is used to push your local docker repository to docker hub repository docker rmi sample_docker_repo sanghapalsalave/sample_docker_repo ---------------------------------------------------------------- This command is used to remove your repository from local or docker hub docker run -p 8085:8085 sanghapalsalave/sample_docker_repo ---------------------------------------------------------- This command is used to run docker image file on specified port
sampledockerrepo's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.