iam-veeramalla / docker-zero-to-hero Goto Github PK
View Code? Open in Web Editor NEWRepo to learn Docker with examples. Contributions are most welcome.
Home Page: https://www.youtube.com/@AbhishekVeeramalla
Repo to learn Docker with examples. Contributions are most welcome.
Home Page: https://www.youtube.com/@AbhishekVeeramalla
Hello Abhishek Sir ! Greetings Of The Day !
I have a suggestion for improving ease of following the guide , In Line 258 and 259 , Use of relative path can improve code and can be used as single command .The commands can be
git clone https://github.com/iam-veeramalla/Docker-Zero-to-Hero
cd Docker-Zero-to-Hero/examples
After containerisation when accessing the website using given port address error message shows as follows:
==================================
"Using the URLconf defined in devops.urls, Django tried these URL patterns, in this order:
demo/
admin/
The empty path didn’t match any of these.
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page."
Hi sir , In you documentation i want to add something in you , Run your First Docker Container
in this you mentioned this command , docker run -it abhishekf5/my-first-docker-image , instead of this we can write this also write
docker run -it image-id OR docker run - image-id
which is quite easy and attractive .
Description:
I'm encountering an error while trying to install Python packages in the system-wide Python environment on a recent version of Ubuntu. This issue seems to be related to restrictions implemented as per PEP 668, which aims to prevent conflicts between the system package manager and pip.
Steps to Reproduce:
Attempt to install a Python package using pip in the system-wide environment on a recent Ubuntu version.
sh
pip install <package-name>
Observe the error message indicating the restriction.
Expected Behavior:
Python packages should be installed successfully without conflicts.
Actual Behavior:
The installation fails with an error message due to the PEP 668 restriction.
Suggested Solution:
To resolve this issue, create a virtual environment and install the required packages within that environment. This isolates the application's dependencies from the system-wide Python environment, which is a recommended practice.
Steps to Create a Virtual Environment:
Install the virtualenv package if not already installed:
sh
sudo apt-get install python3-virtualenv
Create a new virtual environment:
sh
virtualenv myenv
Activate the virtual environment:
sh
source myenv/bin/activate
Install the required packages within the virtual environment:
sh
pip install <package-name>
References:
[PEP 668 – Marking Python base environments as “externally managed”](https://peps.python.org/pep-0668/)
Environment:
Ubuntu Version: [Specify version]
Python Version: [Specify version]
Pip Version: [Specify version]
Please look into this issue and provide guidance or a fix for the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.