Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

docker

Why does aspnet core start on port 80 from within Docker?

August 31, 2022 by Magenaut

TL;DR: Why does an aspnet core app run on port 80 from within a Docker image, but 5000 outside a docker image.

Categories ASP.NET, Q&A Tags .net-core, asp.net, docker, kestrel-http-server Leave a comment

Does Azure Service Fabric do the same thing as Docker?

August 27, 2022 by Magenaut

My thinking is that people use Docker to be sure that local environment is the same as production and that I they can stop thinking about where are their apps running physically and balancing mechanisms should just allocate apps in best places for that moment.

Categories ASP.NET, Q&A Tags asp.net, azure, azure-service-fabric, docker Leave a comment

COPY . . command in Dockerfile for ASP.NET

August 26, 2022 by Magenaut

The Visual Studio tooling for Docker creates a Dockerfile for ASP.NET projects containing a COPY . . command as below:

Categories ASP.NET, Q&A Tags asp.net, docker, Dockerfile Leave a comment

Cannot acces Asp.Net Core on local Docker Container

August 25, 2022 by Magenaut

I’ve created a app in asp.net core and create a dockerfile to generate a local image and run it.

Categories ASP.NET, Q&A Tags asp.net, docker Leave a comment

ASPNETCORE_ENVIRONMENT in Docker

August 25, 2022 by Magenaut

i have problems setting the ASPNETCORE_ENVIRONMENT variable running my project in a docker container. The problem is that the value is always set/overwritten to “Development”.

Categories ASP.NET, Q&A Tags .net-core, asp.net, asp.net-core, docker, docker-compose Leave a comment

can’t find python packages installed into customized docker image

August 22, 2022 by Magenaut

I am creating a Docker container that runs Python 3.6.15 and the pip install function in my Dockerfile runs during the build process but when I try to execute functions within it after the build completes and I run it the ‘installed’ packages do not exist.

Categories Python, Q&A Tags docker, pip, python Leave a comment

Deploying a minimal flask app in docker – server connection issues

August 22, 2022 by Magenaut

I have an app whose only dependency is flask, which runs fine outside docker and binds to the default port 5000. Here is the full source:

Categories Python, Q&A Tags deployment, docker, Dockerfile, flask, python Leave a comment

Python app does not print anything when running detached in docker

August 19, 2022 by Magenaut

I have a Python (2.7) app which is started in my dockerfile:

Categories Python, Q&A Tags docker, Dockerfile, python Leave a comment

Is distributing python source code in Docker secure?

August 19, 2022 by Magenaut

I am about to decide on programming language for the project.
The requirements are that some of customers want to run application on isolated servers without external internet access.

Categories Python, Q&A Tags docker, python, security, source-code-protection Leave a comment

Error: pg_config executable not found when installing psycopg2 on Alpine in Docker

August 16, 2022 by Magenaut

I’m trying to build a Flask app using Postgres with Docker. I’d like to connect to an AWS RDS instance of Postgres, but use Docker for my Flask app. However, when trying to set up psycopg2 it runs into an error because it can’t find pg_config. Here’s the error:

Categories Python, Q&A Tags alpine, docker, postgresql, psycopg2, python Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress