我无法使用babelwhale libary从Rstudio提取docker映像。我尝试运行下面的命令
db.collection.aggregate([
{
$project: {
data: [
{
name: "$name",
datetime_created: "$datetime_created"
},
{
name: "$name",
datetime_expiration: "$datetime_expiration"
},
]
}
},
{
$unwind: "$data"
},
{
$replaceRoot: {
newRoot: "$data"
}
}
])
但是它给出了以下错误
babelwhale::pull_container("ubuntu:18.04")
答案 0 :(得分:0)
似乎您在unix系统中使用RStudio,可能需要root访问权限才能从docker提取映像。我认为您应该尝试使用以下命令从终端以sudo权限启动Rstudio
sudo rstudio
然后重新运行上面的babelwhale函数。