How to build an docker images
Hello,
When I tried to use docker I got an error:
```
docker run --rm busybox echo hello_world
docker: C:\appveyor\projects\fms-analytics-standard-zone-transform\Publish-ECR.ps1:16
Line |
16 | docker run --rm busybox echo hello_world
| ~~~~~~
| The term 'docker' is not recognized as a name of a cmdlet,
| function, script file, or executable program. Check the
| spelling of the name, or if a path was included, verify that
| the path is correct and try again.
```
I think I use windows image because I have in appveyor.yml
image: Visual Studio 2019
My end goal is to do "docker build" and publish to ECR.
I have made it working with a "process runner" on my local machine now I want to make it run on the real server.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 27 Jan, 2023 08:05 PM
I've been able to use
docker
command from PowerShell in a simple test: https://gist.githubusercontent.com/FeodorFitsner/e2c40b1711c5f0b547...Build results: https://ci.appveyor.com/project/FeodorFitsner/appveyor-check/builds...
2 Posted by ibardarov on 31 Jan, 2023 12:40 PM
Thank you!
It seems that we don't have that image in our setup.