DEV Community

Discussion on: Need help dockerizing Spark

Collapse
 
shawonashraf profile image
Shawon Ashraf • Edited

You can mount a directory as a volume to your container and store the logs there. That way your logs will remain free from side effects. As for the spark re-download issue, you've to find another way to include the spark binary. Since you're writing a Java application, using Maven or Gradle would've made that a lot easier and would've been just a build script away!