mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-07-26 00:20:42 +00:00
Sashi cli and rootless dockerd fixes (#122)
* Fixed sashi cli create json construction issue * Properly applied rootless slirp4netns port driver. * Added dockerd max-concurrent-downloads. * Changed some debug logs to info.
This commit is contained in:
@@ -199,7 +199,7 @@ namespace cli
|
||||
int create(std::string_view container_name, std::string_view owner, std::string_view contract_id, std::string_view image)
|
||||
{
|
||||
std::string msg, output;
|
||||
msg.resize(96 + owner.size() + contract_id.size() + image.size());
|
||||
msg.resize(95 + container_name.size() + owner.size() + contract_id.size() + image.size());
|
||||
sprintf(msg.data(), MSG_CREATE, container_name.data(), owner.data(), contract_id.data(), image.data());
|
||||
|
||||
const int ret = get_json_output(msg, output);
|
||||
|
||||
Reference in New Issue
Block a user