August 2, 2019
Getting started with Adobe’s ColdFusion Docker images
Comments
(7)
August 2, 2019
Getting started with Adobe’s ColdFusion Docker images
ColdFusion troubleshooter
Wizard 146 posts
Followers: 115 people
(7)

Did you know that Adobe released Docker images for ColdFusion back in May 2018? Images are available not only for ColdFusion 2018 and 2016, but also for the ColdFusion Add-on services (PDF service, Solr service), the ColdFusion Performance Monitoring Toolset  (PMT, for CF2018). the ColdFusion API Manager (available with CF Enterprise in CF 2016 and above), and more.

Their availability was announced in a an Adobe blog post in May 2018.  And the post at least pointed to WHERE the images could be found–at the Bintray registry rather than Docker Hub, specifically: https://bintray.com/eaps/coldfusion/

But that post did not point out how there is a very useful page of information about USING the CF images (including the CF add-on and PMT ones), including their environment variables, examples of running them, and including Docker Compose files for extending and/or coordinating their use. Perhaps that page was not yet written at the time, but it’s a great starting point.

For more on the CF, CF add-on, and PMT images, see https://helpx.adobe.com/coldfusion/using/docker-images-coldfusion.html.  For the API Mgr and its add-ons, see a similar page, https://helpx.adobe.com/coldfusion/api-manager/docker-images-coldfusion-api-manager.html.

That said, there’s a good bit that the page does NOT cover, especially for those new to Docker, but even for more experienced folks (even those with experience using the CF Docker images). I hope to address this in various ways in coming weeks.

First, note that I will be doing a session on the topic of “Getting Started with the CF Docker Images” at the Adobe CF Summit 2019. Being only an hour, there’s a lot I won’t be able to cover obviously, but I will indeed cover a fair bit more than what is in those help pages.

Then for those wanting still more, I’ll also be doing a day-long pre-conference session (the day before the conference) where I will expand on the topic much more (including more on Docker in general, and including discussion of other CF Docker images such as those from Ortus). For details, see the description in that link.

(Sadly, there’s no way to link the same way directly to the description of my hour-long session description. You can find them on the “sessions” tab, with mine on Day 2 in that schedule. I have offered the description in a post on my own blog about the talks.)

Further, I plan to blog on various topics related to all this between now and then (and beyond). either here or on my own blog, carehart.org. And if you have questions about using the CF Docker images, then besides commenting at the blog posts you can also open questions here in the CF portal or at the Adobe CF Forums.


For more blog content from Charlie Arehart, see his posts here as well as his posts at carehart.org. And follow him on Twitter and other social media as carehart.

7 Comments
2021-09-29 17:44:20
2021-09-29 17:44:20

Has anyone succesfully tried LDAP connections from within a ColdFusion 2021 Docker image?

I can’t seem to get them working although I have successfully run a ldapsearch call from a bash shell within the container.

The error I get when trying <cfldap> is : An error has occurred while trying to execute query :Could not resolve a valid ldap host

Any help would be great. I have posted this to StackOverflow.

Like
2021-06-25 00:39:46
2021-06-25 00:39:46

Hi Charlie,

maybe you can help. There was an excellent Docker presentation at CF Summit 2020 but I can’t track it down. It wasn’t presented by you so I won’t hold you accountable for fining it for me. Google, and Adobe, haven’t been helpful, maybe because of my lack of acumen.

I’d love to see the presentation, having attended these summits live and virtually for many years. Lacking that, I have a simple question – does Docker replace the need to have a developer edition of CF installed on local machines for CF development in an enterprise environment?

Thanks for any information.

Like
(1)
>
ConnecticutRick
's comment
2021-06-29 23:30:16
2021-06-29 23:30:16
>
ConnecticutRick
's comment

Rick, sorry I missed this the other day. As for that excellent Docker presentation at CF Summit 2020, I am pretty sure you mean Dan Skaggs talk, “Isolation is a Good Thing”. It really was a very good introduction to using Docker with CF. (I’ve done talks of my own on the topic, and his was much better!)

You can find his session, and indeed all the CF Summit 2020 sessions, recorded and online here in the Adobe CF portal. See the link above for videos, then scroll down or use your browser find to search for those sessions or his in particular.

Finally, you ask whether using the CF Docker images replaces running the Developer edition on a local machine. My answer would be generally “no”–at least not for everyone, or perhaps even for most folks. They’re really different animals. If you watch his session (or mine, or others on Docker) you’ll perhaps appreciate that better.

But it’s not a firm answer. COULD one running one of the Docker images as a replacement for running a local instance? Yes, they COULD.

The commandbox folks would also point out how you could run Commandbox and its CF engine instead.

And some who run the Developer edition locally would not trade that for either of these other options. It’s more about options and possibilities. There are pros and cons for each. You just need to decide for yourself. Perhaps someone else will chime in with their take on this.

Like
2021-06-18 12:02:33
2021-06-18 12:02:33

Here’s another update for those who may find this post. First, some “not so good” news then some good news.

First, though you may not have noticed it yet, the Bintray service where Adobe had long hosted the CF Docker images (since 2018) announced earlier this year that it would be shutting down May 1. And there was an Adobe blog post at the time which offered an alternative way to still be able to use the images via download of a tar.gz and then docker load of that. Not an especially satisfying solution.

Then this week we got some very good news, first that they are indeed working toward getting the images on Dockerhub “very soon”, and then that in the meantime  we can also now get them via a repo on AWS docker registry, ECR. Finally, I also found that the Bintray images ARE still available, at least for now (but that may well end very soon).

For more info on all the above, I’ve done a blog post here on the CF portal, as well as still another with additional details on my own site (noting as well some some issues that I hope Adobe might get to address.)

Really looking forward to the images being on Dockerhub, of course.

Like
2020-10-14 00:13:43
2020-10-14 00:13:43

Adding some resources related to CF Docker images beyond the ones I mentioned above, first from me:

https://coldfusion.adobe.com/2019/03/coldfusion-licensing-docker-containers/

https://coldfusion.adobe.com/2019/08/brief-cf2020-offer-still-better-deployment-docker-cloud/

https://www.youtube.com/watch?v=aQX9Xir6FZA

Then from David Byers:

https://coldfusion.adobe.com/2020/01/creating-development-environment-workflow-solo-small-team-development-using-coldfusion-ms-sql-server-docker-compose-part-1/

https://coldfusion.adobe.com/2020/03/part-2-creating-development-environment-workflow-solo-small-team-development-using-coldfusion-ms-sql-server-docker-compose/

Then moving beyond resources focused on the Adobe CF images, there are of course still others which are about deploying CFML into containers, but may be about the Lucee images or the Ortus Commandbox image for CF or Lucee. They often discuss topics that would still benefit someone focused only on using the Adobe CF images.

A substantial resource to start with is the Containerization in Coldfusion: An End-to-End Development Pipeline, which is a book in progress from Samuel Knowlton and the folks at inLeague.

Like
2019-10-09 18:47:29
2019-10-09 18:47:29

Hi, I’m trying to download the CF container image from https://eaps-docker-coldfusion.bintray.io but keep running into authentication errors. I’ve created an account both with Adobe and Bintray. No luck. And I’m using the download guidance at https://www.jfrog.com/confluence/display/BT/Docker+Repositories as well as https://bintray.com/eaps/coldfusion/cf%3Acoldfusion#

Most confusing of all is the interpreting what the API key should be in this line: docker login -u chrisamoran -p <API_KEY> eaps-docker-coldfusion.bintray.io. I’ve tried using a base64 encoded combination of username and username : password, but nothing works.

Any recommendations?

 

Like
(1)
>
chrism87438241
's comment
2019-10-09 20:08:03
2019-10-09 20:08:03
>
chrism87438241
's comment

Chris, do you mean you are using that bintray.io URL in your browser? You should not. (I get the same prompt and can’t login.)

First, to be clear, if you want information ABOUT  the CF containers there, see the URL you offer later in your comment, https://bintray.com/eaps/coldfusion/cf%3Acoldfusion. Or see Adobe’s resources that I point to above, which again point to that.

But then you refer to trying to “download” the image, and if you view the resources I just listed, you will see that indeed, yes, when you do a “docker pull”, the url you use is indeed at bintray.io

But you would do that “docker pull” from a command line when running Docker. And to be clear, you don’t need to authenticate to do that. And you don’t need any API key.

Let us know if this gets you going.

Like
Add Comment