Compare commits
	
		
			4 Commits
		
	
	
		
			471d42618d
			...
			7e2a97bf0d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7e2a97bf0d | |||
| 6e1e63cad1 | |||
| 637bb11fdd | |||
| 14e9f7ee35 | 
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @ -16,6 +16,14 @@ Collection of Dockerfiles created to build & pack various tools. | ||||
| 
 | ||||
| ## 1.1. Bandwhich | ||||
| 
 | ||||
| ### 1.1.1. Source | ||||
| >This is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname | ||||
| 
 | ||||
| Source: https://github.com/imsnif/bandwhich | ||||
| https://github.com/imsnif/bandwhich | ||||
| 
 | ||||
| <br> | ||||
| 
 | ||||
| ### 1.1.2. Example | ||||
| ``` | ||||
| docker run -it --net host bandwhich -i eth0 | ||||
| ``` | ||||
|  | ||||
| @ -10,10 +10,8 @@ WORKDIR /build | ||||
| RUN apk add --no-cache make libc-dev build-base | ||||
| # Copy sources | ||||
| ADD .build/repository/ . | ||||
| # Update dependencies | ||||
| RUN cargo update | ||||
| # Compile | ||||
| RUN TARGET="release" make | ||||
| # Update dependencies and Compile | ||||
| RUN cargo update && TARGET="release" make | ||||
| 
 | ||||
| 
 | ||||
| # ---- Release ---- | ||||
| @ -21,4 +19,4 @@ FROM base AS release | ||||
| # Copy build-target | ||||
| COPY --from=build /build/target/release/bandwhich . | ||||
| 
 | ||||
| CMD ["./bandwhich"] | ||||
| ENTRYPOINT ["./bandwhich"] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user