Score:0

Running a docker image results in error 1

cn flag

Sorry I appreciate this is basic. I'm trying to run a docker image via a docker file but running into issues. This is my dockerfile:

FROM valeriansaliou/sonic:v1.4.0
COPY --chown=1000:0 config/sonic.cfg /etc/sonic.cfg
RUN docker run -p 1491:1491 valeriansaliou/sonic:v1.4.0
USER 1000:0

error: failed to solve: process "/bin/sh -c docker run -p 1491:1491 valeriansaliou/sonic:v1.4.0" did not complete successfully: exit code: 1

I think the issue is that I should be using the command RUN but I don't require docker run afterwards, but that also errors. What should my command be to run it?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.