Author : Tom

I am using Django with docker-compose. I got the following error : Error : column mytable_user.name does not exist LINE 1: …"mytable_user"."date", "mytable_user"."updated", "mytable_… Here is my entrypoint.sh : #!/bin/sh python3 manage.py makemigrations mytable python3 manage.py migrate exec "[email protected]" I don’t know how to solve that … I tried that : docker exec -it id_container ..

Read more

i’m install asterisk on centos for pc in my lan and it’s work with webrtc very well. But if i set to the docker this configuration, i don’t have audio after call with webrtc, but softphone-to-softphone has audio and work well. Why? Maybe rtp sent to wrong address? http [general] bindaddr=172.17.0.2 bindport=8088 enabled=yes rtp [general] ..

Read more

I am trying to launch freeipa server as a docker container in AWS Lightsail, usually you would execute the image with: docker run freeipa/freeipa-server:centos-8 -ti -h ipa.example.test –read-only -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/lib/ipa-data:/data:Z -e PASSWORD=Secret123 freeipa-server ipa-server-install -U -r EXAMPLE.TEST –no-ntp But in lightsail you cannot execute Docker commands in launch scripts, therefore seems to be ..

Read more

I am trying to launch freeipa server as a docker container in AWS Lightsail, usually you would execute the image with: docker run freeipa/freeipa-server:centos-8 -ti -h ipa.example.test –read-only -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/lib/ipa-data:/data:Z -e PASSWORD=Secret123 freeipa-server ipa-server-install -U -r EXAMPLE.TEST –no-ntp But in lightsail you cannot execute Docker commands in launch scripts, therefore seems to be ..

Read more

I’m seeing the strangest behavior and wondering if it’s a bug. First I create a container with a certain port exposed using –publish-all: docker run -d –expose 9997 –publish-all –name container1 image1 This exposes the port on a random host port; docker ps reports 0.0.0.0:49160->9997/tcp. Now, I create a network with another container attached to ..

Read more

When starting a .NET 5 project locally there is an automatic roll forward, meaning when starting the project the runtime will choose the newest minor/patch version installed on the system. For deploy to production I use docker with a typical Dockerfile with lines like FROM mcr.microsoft.com/dotnet/sdk:5.0 and FROM mcr.microsoft.com/dotnet/aspnet:5.0 When typing "dotnet –info" on the ..

Read more

Does anyone know why I’m seeing this when I launch the debugger – to attach to a container. Why doesn’t it say "__init__.py"? And why can’t it resolve the path? I’m able to debug the function with F5, but not the container. Dockerfile: FROM mcr.microsoft.com/azure-functions/python:3.0-python3.8 ENV AzureWebJobsScriptRoot=/home/site/wwwroot AzureFunctionsJobHost__Logging__Console__IsEnabled=true COPY requirements.txt / RUN pip install -r ..

Read more