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:
@ -60,10 +60,11 @@ especially for the case of running staked validators.
|
|||||||
|
|
||||||
Running validator for live clusters (including mainnet-beta) inside Docker is
|
Running validator for live clusters (including mainnet-beta) inside Docker is
|
||||||
not recommended and generally not supported. This is due to concerns of general
|
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.
|
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
|
## Software
|
||||||
|
|
||||||
|
@ -1,7 +1,35 @@
|
|||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
|
|
||||||
# JSON RPC port
|
# RPC JSON
|
||||||
EXPOSE 8899/tcp
|
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 && \
|
RUN apt update && \
|
||||||
apt-get install -y bzip2 libssl-dev && \
|
apt-get install -y bzip2 libssl-dev && \
|
||||||
|
Reference in New Issue
Block a user