SQL Server on linux unable to export to bacpac
According to the official documentation for SqlPackage on 2017 CTP 2.1, the command to export data and schema is as follows:

/opt/mssql/bin/sqlpackage /a:Export /ssn:tcp:&lt;your_server&gt; /sdn:&lt;your_database&gt; /su:&lt;username&gt; /sp:&lt;password&gt; /tf:&lt;/path/to/your/file.bacpac&gt;


Looking at your command, it appears you're missing credentials, so I'd give this a try (I've shortened the other parameters as well, and removed the TCP port):

/opt/mssql/bin/sqlpackage /a:Export /ssn:tcp:localhost /sdn:MyDB /su:&lt;user&gt; /sp:&lt;password&gt; /tf:'/media/jake/1F171B4C75D06418/MyDB.bacpac'