You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated base image from `debian:bullseye-slim` to `debian:bookworm-slim`.
- Added `BITCOIN_VERSION` build argument to specify the version of Bitcoin Core (default: `v29.0`).
- Modified dependencies to include `cmake` and `libsqlite3-dev`.
- Improved build process steps by specifying version checkout and using CMake.
- Detailed improvements in final image dependencies, including `libssl3` and `libevent` libraries.
- Enhanced security section by introducing a non-root `bitcoin` user and specifying ownership of the `/bitcoin` directory.
- Updated Docker commands in the build and run sections to reflect the new default version of Bitcoin Core (`v29.0`).
- Added security considerations regarding the non-root user setup.
Signed-off-by: Artem Barger <artem@bargr.net>
**Note**: Adjust the `rpcuser` and `rpcpassword` to secure your node.
102
118
119
+
## Security Considerations
120
+
121
+
This container runs as a non-root user (`bitcoin`), which provides an additional layer of security. The `bitcoin` user has:
122
+
123
+
- Limited permissions within the container
124
+
- Ownership only of the `/bitcoin` directory
125
+
- No login shell (`/sbin/nologin`)
126
+
103
127
## Conclusion
104
128
105
-
This Docker setup provides a convenient way to run a Bitcoin Core node in an isolated environment, making it easy to manage and scale. For more advanced
129
+
This Docker setup provides a convenient and secure way to run a Bitcoin Core node in an isolated environment, making it easy to manage and scale. For more advanced
106
130
configurations, refer to the [Bitcoin Core documentation](https://bitcoin.org/en/full-node).
0 commit comments