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…

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 reque…

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…

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/doxy…