Comments (4)
Good idea. I'm using Kubernetes so secrets are still exposed via environment variables but I will take a look once I got some spare time.
In the meantime you can hide them in a separate .env file instead of your docker-compose and only allow root to access the Docker Daemon and the .env file.
from docker-idrac6.
@brownts I implemented support for Docker secrets for idrac_host
, idrac_user
, idrac_password
and idrac_port
.
You can check it out in the docker-secrets branch, just pull image domistyle/idrac6:docker-secrets
from Docker Hub. An example docker-compose is available here.
Maybe somebody can give it a try, I have no iDRAC instances running atm.
from docker-idrac6.
@DomiStyle I tested this out and it works great! I hadn't used Docker swarm before and it's required in order to use secrets, so that was a little bit of a stumbling block. The changes you've made to the docker work as expected (although I only used secrets for the "user" and "password", while using the environment variable for the "host" and just defaulting the "port"). I checked this out on a Dell R210ii, R510 and R610...all worked fine. I also used a manually created secret (via "docker secret create ...") as I didn't want them to be stored in a file, thus the reason for the "external" attribute in my configuration below.
I had to adjust my configuration to use the long syntax for the port expose portion of the configuration as it seems by default the ports are not exposed to the host machine when running in a swarm unless you use "host mode" which as far as I can tell is only available in the long syntax, and the long syntax is only available starting with version 3.2.
This is the configuration I tested this with: idrac6_config.txt
Thanks for adding this capability!
from docker-idrac6.
@brownts Thanks for testing! Pulled it into master, should be on Docker Hub in a few minutes.
from docker-idrac6.
Related Issues (20)
- Connection failing R510 running v1.52 HOT 1
- Full Screen mode does not work HOT 3
- Wrong client desktop size HOT 3
- Docker starts and restarts HOT 10
- Clipboard not working
- Modification for IBM x3650 M3 HOT 3
- Support for Supermicro IPMI HOT 4
- Container abends with out of memory errors HOT 1
- Login failed, possibly due to slow network connection. HOT 2
- Server disconnected error code 1006 HOT 1
- New Macro Ctrl + N
- Container using up all memory then crashing/stopping HOT 2
- zulu update broke Dell R210 iDRAC6 HOT 6
- Does it works with iDrac6 Express? HOT 1
- Possible to enter iDRAC username and password on the web? HOT 1
- Keyboard input incorrect
- Stuggling to get this to work
- Mounting vmedia HOT 1
- iDRAC7 support? HOT 1
- Getting SSL handshake failures with iDRAC 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-idrac6.