Skip to content

Tag: containers

Docker run with arguments from a configuration file

I’ve built a docker image in order to publish a jupyter notebook to my team. The jupyter notebook runs inside a docker container by running a docker run command containing numerous arguments (such as mounts and environment variables for AWS credentials). The current instructions I published for running the docker require you to copy and paste the entire docker run

How to fix “curl (56) Recv failure: Connection reset by peer” error when doing a port mapping from docker container to host machine?

I have a Angular Project running in a docker container at port 4200. I have done a port mapping from docker container’s 4200 port to my localhost 4200. I am running this on Ubuntu 16.04. When doing netstat -nltp, I get output tcp6 0 0 :::4200 :::* LISTEN My Dockerfile looks like : I expected when running curl :::4200, to

youtube-dl sometime hangs with “[ffmpeg] Correcting container”

Ubuntu 16.04 I have a bash script that attemts to download a youtube video. The output is below. The problem is that sometimes it works perfectly (completes quickly). But most of the time it hangs on “Correcting container….”. Does anyone know why? Answer I installed the latest ffmpeg and use the following: /usr/local/bin/youtube-dl -q –no-warnings –fixup –prefer-ffmpeg — ffmpeg-location /usr/local/bin