![]() ![]() #0 12.86 Get:11 jammy/restricted amd64 Packages #0 12.86 Get:10 jammy/multiverse amd64 Packages #0 4.003 Get:9 jammy-security/universe amd64 Packages #0 3.645 Get:8 jammy/universe amd64 Packages #0 3.301 Get:7 jammy-security/restricted amd64 Packages #0 3.296 Get:6 jammy-security/multiverse amd64 Packages #0 2.954 Get:5 jammy-backports InRelease ![]() #0 2.261 Get:3 jammy-security/main amd64 Packages #0 0.242 WARNING: apt does not have a stable CLI interface. > RUN apt update & apt install curl -y & curl -o- | bash & source ~/.bashrc & nvm install -lts & npm install -g npm: => ERROR RUN apt update & apt install curl -y & curl -o- 27.0s => CACHED FROM docker.io/library/ubuntu:22.04 0.0s => load metadata for docker.io/library/ubuntu:22.04 0.0s => load build definition from Dockerfile 0.0s Output $ docker build -t my-node:ubuntu-22.04. # then ran each command seen in my Dockerfile in the same order they appear there docker pull ubuntu:22.04 & docker run -it ubuntu:22.04 ![]() I ran each of the commands I put in the RUN directive on the official base image in an interactive terminal before writing my Dockerfile and it worked just fine on the official base image. I made my first own Dockerfile of something I actually want (not just one of the practice exercises). I know that what you are about to see is probably REALLY gross - so you might want to make sure you’re near a proper receptacle in case you can’t hold back… Problem Description ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |