Code Monkey home page Code Monkey logo

docker-zero-to-hero's People

Contributors

iam-veeramalla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-zero-to-hero's Issues

Documentation Improvement

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

Page not found (404) in the Django project.

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."

Resolve Python Package Installation Issue Due to PEP 668 in Recent Ubuntu Versions

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.
external manage env

Documentation improvement

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 .

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.