Welcome to the Linux Foundation Forum!
Hello, just started the LFS250, but issues on the first demo video
fmiranda
Posts: 9
Hi,
I tried to replicate what was done on Chapter 3 first video, using docker and podman.
Docker works flawless, even with Docker Desktop. When trying to do the same on a different Virtual Machine, I installed podman and also Podman Desktop. The command line:
$ podman run --detach --publish-all nginx:latest or $ podamn run --detach --publish-all nginx:1.20
Return this error:Error: short-name "nginx:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
I was able to solve the issue with:
podman run --detach --publish-all docker.io/nginx:latest Trying to pull docker.io/library/nginx:latest... Getting image source signatures Copying blob 943ea0f0c2e4 done | Copying blob 7cf63256a31a done | Copying blob d014f92d532d done | Copying blob 513c3649bb14 done | Copying blob bf9acace214a done | Copying blob 9dd21ad5a4a6 done | Copying blob 103f50cb3e9f done | Copying config b52e0b094b done | Writing manifest to image destination f5136ce53f384ac4e184cb702c29d024da41f1541f9cef9e051491883308d5a1
0
Comments
-
On Chapter 3 as well, following the Demo: Building Container Images
This instructions, in the description would have been helpful:
- create a working directory for your application and enter that directorr
mkdir app1
then
git clone https://github.com/docker/getting-started-app.git
- Create your Dockerfile with the following content:
FROM node:lts-alpine WORKDIR /app COPY . . RUN yarn install --production CMD ["node", "src/index.js"] EXPOSE 3000
enter the directory
getting-started-apprun the command
podman build -t getting-started2 . -f ../Dockerfile
then run the command below to check your new image
podman imagesthen run the container image:
podman run -d -p 3000:3000 getting-started
- Then open your Browser and enter the text below on the URL field:
localhost:3000
Voilá
0 - create a working directory for your application and enter that directorr
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 5 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 12 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 122 Mobile Computing
- 20 Android
- 87 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 395 Off Topic
- 121 Introductions
- 30 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 697 Software Development
- 1K Software
- 403 Applications
- 182 Command Line
- 5 Compiling/Installing
- 69 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)