Open Closed

What is the support for Docker in ABP Commercial today? #8082


User avatar
0
improwise created

It used to be that at least ABP Commercial came with full (or at least good) support for Docker, including multi stage Dockerfiles with support for Docker Compose etc. But this does not seem to be the case anymore, the included Dockerfiles are very minimal and isn't even recognized by Visual Studio as Dockerfiles it seems. They also does not seem to work so you can publish to Docker Hub etc. (as Visual Studio claim there is no Dockerfile)

Even finding Docker in the current documentation is hard, we've only been able to find it mentioned in the 8.1 documentation and that seems to be outdated now, for example the build-images-locally.ps1 mentioned there does not seem to exist anymore

https://abp.io/docs/commercial/8.1/startup-templates/application/deployment-docker-compose?UI=BlazorServer&DB=EF&Tiered=Yes

Have tried to find information about this change including updated documentation for the changes that have been made but not found it so:

  1. What is the current support in ABP for Docker?
  2. Where can we find updated documentation?
  3. What are the recommended best practices to use Docker with ABP for both development and hosting (besides the stuff on how to use Docker with .NET in general)?
  4. If the previous support for Docker was removed (again, besides .NET support in general for Docker), why was this?

You can of course build your own Dockerfiles from scratch etc. but my questions here is about what support you get out of the box for Docker in ABP.

Also created an issue on GitHub for this, but the answers might be different between the free and the commercial version of ABP.

https://github.com/abpframework/abp/issues/21057

Thanks.


9 Answer(s)
  • User Avatar
    0
    improwise created

    Still waiting for a reply here. Thanks.

  • User Avatar
    0
    improwise created

    OK, so I decided to uninstall the new CLI and instead install the "old" CLI and use that to create a new similar solution. And to my surprise, that still contained what appears to be full docker support, including Docker Compose and the necessary scripts to build images etc.

    With ABP Studio still being in beta (which seem to be true beta in this case with the bugs to go along with it), this really creates some confusion as to what solution to actually use when you want to build something for real production with ABP (not just with regards to Docker).

    ABP really need to comment on this...

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You are right; ABP should have full support for docker; we'll discuss it internally and get back to you

  • User Avatar
    0
    improwise created

    Hi,

    You are right; ABP should have full support for docker; we'll discuss it internally and get back to you

    Thanks for responding.

    This should for now mean that if you want Docker support, you would have to use the old CLI (or rather the startup templates for that but they seem to be tied together)?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Yes, old and new CLI use different template sources.

  • User Avatar
    0
    improwise created

    Hi,

    Yes, old and new CLI use different template sources.

    Thanks. What about going forward then, would solutions created with old CLI work with ABP Studio?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Yes, you can open abp studio and click File -> Initialize Existing Solution

  • User Avatar
    0
    improwise created

    Yes, you can open abp studio and click File -> Initialize Existing Solution

    Thanks, will give it a try.

    Please let us know with regards to Docker support in the new CLI / ABP Studio once you have had that discussion.

  • User Avatar
    0
    improwise created

    Any news on this, ie having Docker support in solutions created by new CLI / ABP Studio just like with old CLI?

    Thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on October 22, 2024, 09:35