Skip to content

Conversation

@nwang92
Copy link
Contributor

@nwang92 nwang92 commented Nov 5, 2020

This seems to only be affecting Centos 7 images. But I'm seeing:

$ docker run -d -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=helloworld splunk-centos-7:latest no-provision
6487e7c91d1b6584c4a01ddc9ec06caf17c29ca5082dc352bc7db860523ad6ec

$ docker exec -it 6487e7c91d1b6584c4a01ddc9ec06caf17c29ca5082dc352bc7db860523ad6ec bash
[ansible@6487e7c91d1b splunk]$ whoami
ansible
[ansible@6487e7c91d1b splunk]$ ulimit -u
unlimited

$ docker exec -it --user splunk 6487e7c91d1b6584c4a01ddc9ec06caf17c29ca5082dc352bc7db860523ad6ec bash
[splunk@6487e7c91d1b splunk]$ whoami
splunk
[splunk@6487e7c91d1b splunk]$ ulimit -u
unlimited

$ docker exec -it  6487e7c91d1b6584c4a01ddc9ec06caf17c29ca5082dc352bc7db860523ad6ec bash
[ansible@6487e7c91d1b splunk]$ ulimit -u
unlimited
[ansible@6487e7c91d1b splunk]$ sudo -u splunk bash
[splunk@6487e7c91d1b splunk]$ ulimit -u
4096

@nwang92 nwang92 merged commit 9c23164 into develop Nov 9, 2020
@nwang92 nwang92 deleted the bugfix/centos7-nproc branch November 9, 2020 20:48
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

Successfully merging this pull request may close these issues.

2 participants