Skip to content

Tag: docker

Docker mount volume specify path

please I really need help creating a docker volume. By default, when I create a volume, its location will be /var/lib/docker/volumes/ I need to change this default location to my SSD disk, specifically /media/username/T7/docker/volumes Please how do I make sure the docker I run will be stored in my SSD rather than the default location? I will be using this

Deploy SkiaSharp on a container running .NET 6 Alpine Linux

SkiaSharp fails at runtime when deployed to an alpine linux container, using .NET 6.0 with the following error: System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKImageInfo’ threw an exception. —> System.DllNotFoundException: Unable to load shared library ‘libSkiaSharp’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No

Trying to install Docker on RHEL – docker-ce conflicts with Podman-docker

Getting this error: Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 – AppStream (RPMs) 22 MB/s | 45 MB 00:02 Last metadata expiration check: 0:00:01 ago on Mon 01 Aug 2022 17:36:44 BST. Error: Problem: problem with installed package podman-docker-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.noarch package docker-ce-3:20.10.17-3.el8.x86_64 conflicts with docker provided by podman-docker-2:4.0.2-6.module+el8.6.0+14877+f643d2d6.noarch package docker-ce-3:20.10.17-3.el8.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch package

How to fix The terminal process “/usr/sbin/nologin” failed to launch (exit code: 1) error in VSCode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

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

Error while building docker image on ARM64

I wrote this Dockerfile for an os and while running sudo docker build buildenv -t testos-buildenv on the terminal i got this log Sending build context to Docker daemon 2.048kB Step 1/9 : FROM randomdude/gcc-cross-x86_64-elf —> c7e17c42eb04 Step 2/9 : RUN apt-get update —> [Warning] The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no

Docker filter containers both by image name and age

I am trying to stop / prune docker containers according to 2 conditions: image name time they’ve been running for For instance, I could want to stop all containers from image image-name that have been running for over 24h. By reading the documentation, it seems the –filter option is not consistent at all since docker container prune has the until

How to connect paths in Docker file

I am running a Jenkins job, inside a docker container, this job requires doxygen but im getting an error saying – I have doxygen installed in my Docker image, but the path is – Inside my docker image, I want to connect this old path – /opt/fc4-usr-local/bin/doxygen with new path usr/bin/doxygen So whenever my job looks for doxygen it goes