Error Deploying WebLogic Domain On Kubernetes - Docker-images/OracleWebLogic/samples/wls-k8s-domain

(Doc ID 2361776.1)

Last updated on FEBRUARY 16, 2018

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

While creating a prototype for running WebLogic (ultimately SOA Suite) on a Kubernetes cluster.
and using the domain at https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/wls-k8s-domain 

The image was build successfully, but an error is thrown while running the startadmin.sh to start the Admin server:

mkdir: cannot create directory '/u01/wlsdomain/servers': Permission denied

The script is creating the /u01/wlsdomain directory as root, hence the permission denied error.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms