My target is to have an image (like for example AWS AMI) and not a docker image. The image I'm talking about has a full app, with multiple containers, network and so on. I want to be able to pack the entire thing as an image. My process for example is the following: docker images + scripts -> AWS AMI
בתאריך יום רביעי, 29 בנובמבר 2017 בשעה 13:53:00 UTC+2, מאת Alvaro Miranda Aguilera: > if you have an existing image then you don't need packer at all > > you can use docker commands like docker image save > > https://docs.docker.com/engine/reference/commandline/image_save/ > > packer is a tool that can be used to create docker containers. but if you > have those then not sure what would be the benefit of having packer in the > middle > > can you explain more? > > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Virusvrij. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > > <#CAHqq0exg0q83SkZdyqvEE5afVXx3WK0n54+EQQ36s3zRnNvS2Q@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Wed, Nov 29, 2017 at 12:44 PM, Ori N <[email protected] <javascript:>> > wrote: > >> Hello, >> >> I have several containers, which build together an application with http >> access. >> I want to be able to pack this application as an image. What I thought is >> to use packer to: >> >> - Install OS and docker >> - Pull container images from my own private repository >> - Run the containers using docker CLI commands >> >> I wanted to get feedback about it. Is it the right way to go? >> >> Thanks, >> Ori >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/c5c56e88-ef64-4df7-a44b-f6a5d0bad47d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/c5c56e88-ef64-4df7-a44b-f6a5d0bad47d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/84dbbee5-cac3-40d6-80a3-92cf8e7e84ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
