docker build Command Works Yet It Does Not Create A Docker Container
1
0
Entering edit mode
14 months ago
Indira ▴ 10

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 • 574 views
ADD COMMENT
0
Entering edit mode
14 months ago
ATpoint 81k

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.

ADD COMMENT
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 2565 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6