Hacker News new | ask | show | jobs
by xur17 3993 days ago
Really great implementation. I was delighted to see that clicking on the 'Run Now' button immediately launched a container - no sign in, etc required.

I've been working on a similar idea for running docker containers on a cron schedule. I use them for data processing, and web crawling, but don't have a good way to manage their schedules / logs. Right now I run everything off a single box with a cron schedule for each one.

1 comments

Thank you very much! Scheduling could be an interesting feature. Why do you schedule your containers? Have you tried another approach?
I schedule them so I can run a recurring task every day.

Examples:

1. Crawl a website, and store the data to a database - update every few hours.

2. Check a website for changes.

3. Process log data, and save it to another location.

Docker may be overkill for some of these, but it provides a simple way to launch a new task in a container with all dependencies installed. The overhead seems to be relatively small for starting a new container, so it's worth the overhead vs. configuring a machine to run the container.

Seams reasonable. I think it also can help to not have zombie processes after cronjobs. Well, then we'll definitely consider having scheduling. Thanks mate!