Ray S
Ray S

Reputation: 629

How to create a docker image with non linux OS distribution

Apologies if this is not the right channel for this question but hopefully someone can clarify my confusion.

So I am trying to containerze a java application currently running (not on container) on AIX operating system.

So, my confusion goes is:

  1. Will I be able to ever do this migration without replatforming and migrating to some version of linux and keeping the same OS (AIX unix) intact? If yes then, what kind of base OS image I'll be able to use for AIX and will it ever be able to use resources of the host OS kernel which is always linux?

  2. Is it true that base OS image has to be some flavor of linux for it to consume the underlying linux kernel of host OS? If this is true then how are folks running a .net application in docker which runs on windows?

Thanks in advance for your help.

Read documentation online but didn't get any concrete resolution of my confusion.

Upvotes: 2

Views: 388

Answers (1)

VonC
VonC

Reputation: 1324278

Docker support for AIX was requested in 2015 (moby/moby issue 11680) and studied by IBM, using IBM POWER also in 2015.

More recently (2019), IBM proposes enter link description here, which uses AIX Workload Partitions (WPARs), an OS-specific container technology.

If your current AIX-compatible image can use WPAR, it might no run on a Linux-host kernel: system calls could differ.

Upvotes: 1

Related Questions