Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install DB2 witout Root privilege #2

Open
angoca opened this issue Dec 18, 2014 · 1 comment
Open

Install DB2 witout Root privilege #2

angoca opened this issue Dec 18, 2014 · 1 comment

Comments

@angoca
Copy link

angoca commented Dec 18, 2014

I have read your article and checked out your project. They are very interesting, and I see you have work a lot on this installation.

I propose you to install DB2 and create an instance without root privilege. This could reduce the need to use extra configuration in order to deal with the memory.

http://www-01.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.qb.server.doc/doc/t0050571.html?lang=en


I see that you name the instances as db2instX, however it limits the instalation to 10 instance (0-9), however the instance name can be any username in linux.

@bryantsai
Copy link
Owner

Since this is for Docker container usage, I didn't see a particular need to do non-root installation. Regarding "reduce the need to use extra configuration in order to deal with the memory", do you mean "—privileged=true" is not needed for non-root installation?

As for the instance names ... I believe in single purpose container: a Docker container should only have single instance (i.e. create another for a new instance) hence it could just be db2inst1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants