18. Docker (in Hindi) : Dockerfile (add, copy, user) difference between copy and add in docker file

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

sir video really good sir..thanks gaurav sir

sanketsuryawanshi
Автор

We can run the below command instead of COPY testproject /tmp/project

RUN cp testproject /tmp/project

pankajverma
Автор

After user addition, when you logged in, how it entered with "gaurav" user without mentioned any user specific ?

arunkumarbadatya
Автор

When you are login into container it shows gaurav user why?

TNTBenelliiRider
Автор

Hi Gaurav, I want to add AD user in dockerfile. Is there any way to use LDAP, AD user inside container.

devendrathakur
Автор

1:11 aaaaee bhai yrr aisa nahi karo bhai yrr Tum . Sirf isiliye kyunki tumhaarey naam mei G ataa h mutlub ye thodi ki Guest User k bajaye Gaurav User bol doge 🤣 . Ub mere mu se bhi interview k dauraan tumharaa naam niklega 🥲 . Great content by the way . Mujhey ADD aur COPY commands k beech antar samajhna tha

yogeshdharya
Автор

Hi Gaurav, firsl of all thanks a lot for your awesome videos. I have learned a lot from your videos. However, I have got stuck at one place actually I am trying to install python in ubuntu but I am getting a error- Unable to locate package python 3

kumarprasant
Автор

I saw your video buddy not only this but ADD can also copy files from a URL. It can download an external file and copy it to the wanted destination.

bhagwanipankaj
Автор

Sir COPY ka new syntax aa gya hai alag alag directories like dusri location par hai say desktop par ek folder usko kaise move/copy karenge to the one in tmp ??

poetryiscodingdecoding
Автор

Error - The command 'bin/she -c apt-get install -y python3' returned a non-zero code: 100

kumarprasant
Автор

Good morning n thanks
Sir kuch elasticsearch, logstash, kinana ka tutorial banaiye pls

gk
Автор

Bhaiya kubernetes ke bhi course banaye pls

saikatdutta
Автор

Gaurv ji docker compose ki vidplo kab upload kar rahe hai?

aaravsah
Автор

Hi Gourav

Firtst of all thanks for creating videos . it`s a good tutorial .

I am searching for this kind of tutorial, when I am doing real time for the same .I am unable to do this

1.need to create user
2. I have one script file is there which needs to be copied inside container (unable to make this)
3. by using your command I am unable to create user and password (/bin/bash error no:2)
please suggest asap with your reply

krishnadasari
Автор

COPY mix.exs mix.lock ./

Can you please explain what did ./ In above command

abdularshad
Автор

The command '/bin/sh -c useradd -d /home/ran -g root -G sudo -m -p $(echo "$PASS" | openssl passwd -l -stdin) $NAME' returned a non-zero code: 2
got error

ranvijaysingh
Автор

Getting Error "The command '/bin/sh -c useradd -d /home/aruna -s /bin/bash -g root -G sudo -m -p $(echo "$PASS" | openssl passwd -l -stdin) $NAME' returned a non-zero code: 2"

arunkumarbadatya
Автор

The command '/bin/sh -c useradd -d /home/ajay -g root -G sudo -m -p $(echo "$PASS" | openssl passwd -l -stdin) $NAME' returned a non-zero code: 2

ye error aa raha hai iska kya solution hai ?

diwakarajay
Автор

What is the use of VOLUME inside Dockerfile could you please explain

saikatdutta
Автор

bhai ye docker file github pay dal dete or pin kar dete tho acha hota sab ke liye

gyani_Baba