This is a test version of Biostars. For the public version, visit https://www.biostars.org.
docker build Command Works Yet It Does Not Create A Docker Container

I ran the following command

docker build --build-arg WHEN=2023-02-07 -t my_file_name .

and it ran without any errors ending with

=> => naming to docker.io/library/my_file 0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them

but when I ran the command:

docker container ls

It does not show up as a container. Why would this occur?

linux build r docker

1 answer

You created an image, not a container. See with docker images. As said in the other threads, please consider explaining the overall goal rsther than shotguning several questions on the same underlying/ unresolved problem.

So - I am trying to get around proxy issues but essentially installing required packages in a docker/sif then trying to use that to run an R markdown that uses those files. However, for some reason while I found a way to build the .sif file I cannot get it to work in R markdown so I can do R.

Log in to answer this question.