docker: Expose all ports in Dockerfile, add back localnet.sh (#16401)
* docker: Expose all ports in Dockerfile, add back localnet.sh * Add documentation for where to find containers * Obliterate script
This commit is contained in:
parent
1d2cae433c
commit
448d5be79f
|
@ -60,10 +60,11 @@ especially for the case of running staked validators.
|
|||
|
||||
Running validator for live clusters (including mainnet-beta) inside Docker is
|
||||
not recommended and generally not supported. This is due to concerns of general
|
||||
docker's containerzation overhead and resultant performance degradation unless
|
||||
Docker's containerzation overhead and resultant performance degradation unless
|
||||
specially configured.
|
||||
|
||||
We use docker only for development purpose.
|
||||
We use Docker only for development purposes. Docker Hub contains images for all
|
||||
releases at [solanalabs/solana](https://hub.docker.com/r/solanalabs/solana).
|
||||
|
||||
## Software
|
||||
|
||||
|
|
|
@ -1,7 +1,35 @@
|
|||
FROM debian:buster
|
||||
|
||||
# JSON RPC port
|
||||
# RPC JSON
|
||||
EXPOSE 8899/tcp
|
||||
# RPC pubsub
|
||||
EXPOSE 8900/tcp
|
||||
# entrypoint
|
||||
EXPOSE 8001/tcp
|
||||
# (future) bank service
|
||||
EXPOSE 8901/tcp
|
||||
# bank service
|
||||
EXPOSE 8902/tcp
|
||||
# faucet
|
||||
EXPOSE 9900/tcp
|
||||
# tvu
|
||||
EXPOSE 8000/udp
|
||||
# gossip
|
||||
EXPOSE 8001/udp
|
||||
# tvu_forwards
|
||||
EXPOSE 8002/udp
|
||||
# tpu
|
||||
EXPOSE 8003/udp
|
||||
# tpu_forwards
|
||||
EXPOSE 8004/udp
|
||||
# retransmit
|
||||
EXPOSE 8005/udp
|
||||
# repair
|
||||
EXPOSE 8006/udp
|
||||
# serve_repair
|
||||
EXPOSE 8007/udp
|
||||
# broadcast
|
||||
EXPOSE 8008/udp
|
||||
|
||||
RUN apt update && \
|
||||
apt-get install -y bzip2 libssl-dev && \
|
||||
|
|
Loading…
Reference in New Issue