Pier 24 does not offer on-site parking. The closest parking is at 101 Harrison St SF. See more here.
There is no free parking near Pier 24.