GithubHelp home page GithubHelp logo

docker_1's Introduction

Hey there

Apoorv's | Youtube Apoorv Pandey Virtualdoxx Apoorv Local Guid


GIF

  • πŸ’¬ Ask me about anything, I am happy to help;
  • πŸ“ Resume

Languages and Tools:

πŸ“Š This Week I Spent My Time On:

Linux        8 hrs 40 mins   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   46.47 % 
Angular      5 hrs 13 mins   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   27.98 % 
SCSS         4 hrs           β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   21.45 % 
Other        21 mins         β–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   01.96 % 
Markdown     17 mins         β–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   01.58 % 

If you like what I do, maybe consider buying me a coffee/tea πŸ₯ΊπŸ‘‰πŸ‘ˆ

Buy Me A Coffee

🚧 My Todoist Stats:

πŸ† 1500 Karma Points
🌸 Completed 0 tasks today
βœ… Completed 23 tasks so far
⏳ Longest streak is 10 days

πŸ“ˆ My GitHub Stats

apoorvpandey

docker_1's People

Contributors

apoorvpandey-ap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker_1's Issues

How to push docker image on Docker Hub

Login in Docker Hub
usar :apoorvvns
pass :Apoorv@13

So, this means you have to tag your image before pushing:

sample - docker tag firstimage YOUR_DOCKERHUB_NAME/firstimage

docker tag apoorv_wildfly_02 apoorvvns/apoorv_wildfly_02
and then you should be able to push it.

sample docker push YOUR_DOCKERHUB_NAME/firstimage

docker push apoorvvns/apoorv_wildfly_02

How to install docker in ubuntu

Set up the repository

  1. sudo apt-get update

  2. sudo apt-get install
    ca-certificates
    curl
    gnupg
    lsb-release
    Add Docker’s official GPG key:

  3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

  4. echo \
    "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu
    $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Install Docker Engine

 sudo apt-get update
 sudo apt-get install docker-ce docker-ce-cli containerd.io

referance

Make Dockerfile and install Wildflly with that

From jboss/base-jdk:11

ENV WILDFLY_VERSION 24.0.0.Final
ENV WILDFLY_SHA1 391346c9ed2772647ff07aeae39deb838ee11dcf
ENV JBOSS_HOME /opt/jboss/wildfly

USER root

RUN cd $HOME
&& curl -O https://download.jboss.org/wildfly/$WILDFLY_VERSION/wildfly-$WILDFLY_VERSION.tar.gz
&& sha1sum wildfly-$WILDFLY_VERSION.tar.gz | grep $WILDFLY_SHA1
&& tar xf wildfly-$WILDFLY_VERSION.tar.gz
&& mv $HOME/wildfly-$WILDFLY_VERSION $JBOSS_HOME
&& rm wildfly-$WILDFLY_VERSION.tar.gz
&& chown -R jboss:0 ${JBOSS_HOME}
&& chmod -R g+rw ${JBOSS_HOME}

ENV LAUNCH_JBOSS_IN_BACKGROUND true

USER jboss
EXPOSE 6060

CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0"]

WSL 2 is not installed / docker engine failed to start

Problem while opening a Docker Desktop

case 1

image

case 2

image

Step 1 - Enable the Windows Subsystem for Linux

Open PowerShell as Administrator (Start menu > PowerShell > right-click > Run as Administrator) and enter this command:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Step 2 - Enable Virtual Machine feature

Open PowerShell as Administrator and run:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Step 3 - Download the Linux kernel update package

WSL2 Linux kernel update package for x64 machine
Run the update package downloaded in the previous step

Step 4

Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution:

wsl --set-default-version 2

Step 5

Restart you PC

note - Please enable Virtualization Technology from the boot menu its important
IMG_20220110_101231 (1)

Manual Video
Document reference

END

User Problem from @youtube - name enes fΔ±ndΔ±k

First of all, thank you very much for your video on docker. I tried the same thing you did but I'm still getting the problem. This problem started after Windows 10 update and it still persists. I'm looking forward to your reply. Thanks a lot. have a nice day.

dockerw

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.