This is a problem because bash interprets the trail till the house, after which take the rest as choices of docker run command. This is the explanation due to it return an error linked with the command docker run itself. I hope the above approaches will allow you to to repair your issue with docker invalid reference format error. I wish the error message would output the problem string.
You are free to share or copy text However, please maintain the URL of this article as the reference URL. The first one entails permission rights lacking for the docker program that clickable makes use of. This model brings many thrilling enhancements, but also removes deprecated options and introduces breaking modifications which will impact your workflow. To see what is being deprecated and removed, please go to Breaking changes in 15.0 and Deprecations. Share a hyperlink to this question through e-mail, Twitter, or Facebook. To point to my /dist folder where my app-files are compiled by angular.
Args before the run are choices to the docker prime level command. This is occurring because of the spaces within the current working directory that came from $ for map volumes. This means the reference we are utilizing shouldn’t have uppercase letters.
And then add individual parameters back into your command till you discover the one that breaks it. Pay special consideration to the order of your args, parameters to run should be between the run and your picture name. Args after the picture name are passed as a command to run.
Sign up for a free GitHub account to open an issue and contact its maintainers and the group. I’d put cash on the white house resulting in the difficulty at hand here because the next argument would be interpreted because the repository/image. Indeed, the docker registry as of at present doesn’t handle paths containing upper-case characters. This implies that the reference we now have used is not a legitimate format. This means, the reference we now have used to establish a picture is invalid. Generally, that is adopted by a description as follows.
Which means you cant name your projects with upper-letters . In my case, the image name outlined in docker-compose.yml contained uppercase letters. The fact that the error message mentioned 7 days to die light attract zombies repository as an alternative of picture didn’t help describe the problem and it took a while to determine.
If you do not want to override the present Microgateway project, run the init command with one other project name from another working listing. TrimNamed removes any tag or digest from the named reference. Reference unwraps the reference sort from the sector to return the Reference object. This object should be of the appropriate kind to additional verify for various reference sorts.
// ErrReferenceInvalidFormat represents an error whereas trying to parse a string as a reference. Tagged version Modules with tagged variations give importers extra predictable builds. If it is at a non-standard location, specify the URL with the DOCKER_HOST surroundings variable. ‘react-scripts’ isn’t recognized as an internal or external command, operable program or batch file. The command ‘docker’ could not be discovered in this WSL 1 distro.
The house within the path in “Mobile Documents” seems to be what docker run does not like. After rearranging the parameters like under everything labored fine (basically putting –name parameter followed by image name). Had a space within the present working directory and usign $ to map volumes. In my case I forgot to export variable from external surroundings.
This website uses cookies.